Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve git hook execution in other then main worktree #605

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

knobo
Copy link

@knobo knobo commented Sep 7, 2022

The hook does not run when in other worktrees since .git is not located there.

@knobo knobo changed the title Improve execution in other then main worktree Improve git hook execution in other then main worktree Sep 7, 2022
@JLLeitschuh
Copy link
Owner

Are you able to add a unit test for this?

@knobo
Copy link
Author

knobo commented Oct 5, 2022

Are there any other unit tests for the pre-comit hook?

@knobo
Copy link
Author

knobo commented Oct 21, 2022

I have made tests similar to existing tests.

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.

2 participants