git-gui icon indicating copy to clipboard operation
git-gui copied to clipboard

hooks are ignored in git worktrees other than the main worktree

Open HarryWeppner opened this issue 3 years ago • 1 comments

It appears that git-gui doesn't execute hooks, e.g. pre-commit, when it is run in a git worktree other than the main worktree.

HarryWeppner avatar Dec 13 '21 22:12 HarryWeppner

I started using worktrees and ran into this issue. Committing from a worktree is a pain since I can't use git-gui.

acls avatar Feb 18 '22 15:02 acls