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
Fixed in v0.4.32: _hooks_dir() now uses git rev-parse --path-format=absolute --git-path hooks instead of git config core.hooksPath. Git resolves this correctly for both normal repos and worktree checkouts, pointing to the shared hooks directory in the main repo's .git/hooks. Includes regression tests for install/uninstall from a worktree. Thanks to @candy-Tong for the PR analysis in #465.
Activity
safishamsi commentedon Apr 23, 2026
Fixed in v0.4.32:
_hooks_dir()now usesgit rev-parse --path-format=absolute --git-path hooksinstead ofgit config core.hooksPath. Git resolves this correctly for both normal repos and worktree checkouts, pointing to the shared hooks directory in the main repo's.git/hooks. Includes regression tests for install/uninstall from a worktree. Thanks to @candy-Tong for the PR analysis in #465.