You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
repo.index.commit() is a custom implementation which doesn't run hooks indeed.
It should either do that, or clearly state that it doesn't, providing a git-command workaround instead.
Please note that even though commit hooks are implemented now, they are only tested and verified to work on posix.
If you need it on windows, please let me know what kind of hook you are running there, just because I am unsure how any script is run on windows by git at all.
Activity
Byron commentedon Nov 19, 2014
repo.index.commit()is a custom implementation which doesn't run hooks indeed.It should either do that, or clearly state that it doesn't, providing a git-command workaround instead.
Byron commentedon Jan 12, 2015
Please note that even though commit hooks are implemented now, they are only tested and verified to work on posix.
If you need it on windows, please let me know what kind of hook you are running there, just because I am unsure how any script is run on windows by git at all.
Byron commentedon Jan 12, 2015
You can see how this was implemented on youtube