You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bb76491
Browse filesBrowse the repository at this point in the historyBrowse files
fix(server): key status caches by gitCommonDir instead of cwd
Cache factories already use gitCommonDir as their key, but the Cache.get
call site in readStatusDetailsLocal was passing a normalized cwd path.
This meant every status refresh missed the cache (different key) and
re-fetched the git subprocesses. Worse, sibling worktree mutations
invalidated by gitCommonDir never cleared the cwd-keyed entry.
Now resolve repositoryPaths early in readStatusDetailsLocal and pass
gitCommonDir as the cache key, matching what the factories expect and
what invalidateStatusStaticCaches already uses.
0 commit comments