Skip to content

fix(explorer): support GIT_DIR worktrees and prevent git status overload#2727

Open
disrupted wants to merge 1 commit intofolke:mainfrom
disrupted:fix/explorer-yadm-git-status
Open

fix(explorer): support GIT_DIR worktrees and prevent git status overload#2727
disrupted wants to merge 1 commit intofolke:mainfrom
disrupted:fix/explorer-yadm-git-status

Conversation

@disrupted
Copy link
Copy Markdown
Contributor

@disrupted disrupted commented Feb 15, 2026

This fixes Explorer git integration for detached repositories (like YADM) by resolving the real git directory from GIT metadata/env instead of assuming <root>/.git. It also avoids overlapping status refreshes and scopes git status checks to the current subtree, which prevents high CPU usage and restores correct file status indicators.

@github-actions github-actions Bot added git explorer size/xl Extra large PR (100+ lines changed) labels Feb 15, 2026
@disrupted disrupted marked this pull request as ready for review February 15, 2026 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

explorer git size/xl Extra large PR (100+ lines changed)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant