Skip to content

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 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

2 participants