-
Notifications
You must be signed in to change notification settings - Fork 280
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
Overcommit taking long time to exit #720
Comments
Hey @aes421, I don't have an immediate answer to why your hook runs take 10 minutes. That is certainly odd. With that said, Also note: as discussed in #238 Overcommit does not support Hope this helps! I'm going to close in the meantime as I'm pretty sure this is something to do with the |
I ran into the same problem as @aes421 -- I think it happens because the I did the following, which seems to be working:
|
You could also set |
Changing my post commit hook to the following as @pillarsdotnet mentioned works.
I tried using I also tried |
@aes421 -- You need to export the environment variable in order for git to see it:
|
I am new to overcommit, so it's likely I'm doing something wrong.
In a post commit hook I am trying to generate new files then add them to the previous commit. The functionality works perfect (files are generated, staged, and then amended to the commit). However, overcommit takes ~10 minutes to exit. If I use ctrl+c to exit then everything is fine because the commit hook did work correctly. I am stuck at this stage:
Here is my overcommit.yml
The text was updated successfully, but these errors were encountered: