-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
git hooks install
is not installing hooks or is showing failing messages
#170
Comments
Seems weird and like a small bug I supposedly fixed? The relevant code which triggers this is : if hasHooksConfigured &&
!localCoreHooksPathSet && !globalCoreHooksPathSet &&
!hasRunWrappers {
BR |
I reproduced the bug, thanks for the report. Its just awrong warning. Trying to fix it. |
Found the typo in the warning logic: Fixing it in 30min, than it works hopefully. |
@giggio: You should probably prefer to install only a link ( |
it installed, it set the |
Oh, yes, it did. So now we don't need the run wrappers on the local directory anymore? Ok, cool! |
@giggio: Correct, it will only use run-wrappers on the local directory when you use |
You can also use that on |
I just ran
git hooks install
and nothing changed in.git/hooks
. I ran it again and files showed up. I'm not sure what happened.Now I ran again and got this:
list
is also listing errors. Hooks are installed, see output:I'm running git hooks from main, using nix.
The text was updated successfully, but these errors were encountered: