Clear the memoized git context cache (call after compact).
()
| 49 | |
| 50 | |
| 51 | def clear_git_caches() -> None: |
| 52 | """Clear the memoized git context cache (call after compact).""" |
| 53 | global _git_context_cache, _git_is_repo_cache |
| 54 | _git_context_cache = None |
| 55 | _git_is_repo_cache = None |
| 56 | |
| 57 | |
| 58 | # --------------------------------------------------------------------------- |
no outgoing calls