Hi! SourceTree doesn't run my pre-commit hook.
This command is run:
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree commit -q -F /var/folders/nh/1nd2c3gd1xg4t3j6p0dgg40w0000gn/T/SourceTreeTemp.nhB6DQ -a
In SourceTree it only says "Completed successfully", but running that from the Terminal triggers the pre-commit. On OS X and using https://github.com/observing/pre-commit to create to pre-commit hook.
I'm having a similar issue.
The only way I've found to get the hooks working is to open SourceTree from the console, using a command such as the following:
open /Applications/SourceTree/Content/MacOS/SourceTree
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.