prati0100 / git-gui

Tcl/Tk based UI for Git. I am currently acting as the project's maintainer.
160 stars 87 forks source link

hooks are ignored in git worktrees other than the main worktree #71

Open HarryWeppner opened 2 years ago

HarryWeppner commented 2 years ago

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.

acls commented 2 years ago

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