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 5c51d71
Browse filesBrowse the repository at this point in the historyBrowse files
fix(git): run the worktree status probe through cbm_popen_git
The freshness verdict reads cbm_git_worktree_status(), which spawned
git with plain cbm_popen. A GIT_DIR/GIT_WORK_TREE inherited from a git
hook or an editor overrides `git -C <root>`, so a clean checkout was
reported stale with the other repository's changes. Every other git
child already goes through cbm_popen_git since DeusData#2003; this probe now
does too.
worktree_status_ignores_inherited_repo_env pins it: a dirty decoy in
the hook environment must not leak into a clean fixture's status.
Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
0 commit comments