Skip to content

fix: support .git file repositories#28

Merged
Sophylax merged 3 commits into
mainfrom
fix/gitdir-support
Mar 30, 2026
Merged

fix: support .git file repositories#28
Sophylax merged 3 commits into
mainfrom
fix/gitdir-support

Conversation

@Sophylax

Copy link
Copy Markdown
Owner

Summary

  • resolve the real Git directory from either a .git directory or a .git file
  • use the resolved Git dir for hook path operations instead of hardcoding .git/hooks
  • add regression coverage for worktree-style repo layouts

Closes #23

@Sophylax Sophylax merged commit fb1007c into main Mar 30, 2026
6 checks passed
@Sophylax Sophylax deleted the fix/gitdir-support branch March 30, 2026 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Git worktrees and .git file repositories

1 participant