i've found this repo quite useful for handling git hooks.
when using git worktrees however, i've found i wouldn't be able to normally interact with git (without --no-verify) until after opening up a nix shell to generate the hook files.
i tend to not really care to deal with the hooks in such cases, which has made me wonder if it might be possible to configure things such as to run them only when actually present already.
not sure if this is technically possible, or even deemed desirable - hence i figured i'd check up with y'all here.
i've found this repo quite useful for handling git hooks.
when using git worktrees however, i've found i wouldn't be able to normally interact with git (without
--no-verify) until after opening up a nix shell to generate the hook files.i tend to not really care to deal with the hooks in such cases, which has made me wonder if it might be possible to configure things such as to run them only when actually present already.
not sure if this is technically possible, or even deemed desirable - hence i figured i'd check up with y'all here.