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
The title more or less says it all.
When I have a worktree open in gitup, and I commit or push, it always succeeds.
But the same changeset when I have the base repo open in gitup, fails as expected.
As a note: in terminal both trigger the hooks as expected.
Can easily be tested with the following pre-commit hook.
#!/bin/bash
echo 'test pre-commit'
exit 1
Same issue with pre-push.
I could have sworn this worked at some point, but maybe I'm mis-remembering.
The title more or less says it all.
When I have a worktree open in gitup, and I commit or push, it always succeeds.
But the same changeset when I have the base repo open in gitup, fails as expected.
As a note: in terminal both trigger the hooks as expected.
Can easily be tested with the following pre-commit hook.
Same issue with pre-push.
I could have sworn this worked at some point, but maybe I'm mis-remembering.
For reference
git config --local --list
:and then in the worktree
git config --worktree --list
The text was updated successfully, but these errors were encountered: