simple-git-hooks icon indicating copy to clipboard operation
simple-git-hooks copied to clipboard

Doesn't work with git worktrees

Open niklaas opened this issue 3 years ago • 1 comments

I get the following errror

ENOENT: no such file or directory, open '/Users/niklaas/git/abc/def/.git/worktrees/<name of worktree>/hooks/pre-commit'

when running npx simple-pre-commit inside a git worktree.

niklaas avatar Aug 04 '21 10:08 niklaas

Yep, I think we do not support any custom git configurations right now. Thanks for the issue

toplenboren avatar Aug 05 '21 18:08 toplenboren