scatterd-dotfiles/git_template/hooks
Brandon Cordell cfcb8497bf Fix pre-commit, prepare-commit-msg hooks
For users who had not overridden the `pre-commit` or
`prepare-commit-msg` Git hooks,
they would see `git commit` hang,
with nothing happening.

The command would exit without going to their editor.

The bug was introduced in d7f194f94e
and the fix is to return a 0 exit code when the override is not present.
2014-12-05 11:35:15 -08:00
..
ctags Introduces git_template for init templating 2014-08-27 16:43:38 -04:00
post-checkout Use POSIX compliant test command in git hooks 2014-11-03 20:26:48 -05:00
post-commit Use POSIX compliant test command in git hooks 2014-11-03 20:26:48 -05:00
post-merge Use POSIX compliant test command in git hooks 2014-11-03 20:26:48 -05:00
post-rewrite Introduces git_template for init templating 2014-08-27 16:43:38 -04:00
pre-commit Fix pre-commit, prepare-commit-msg hooks 2014-12-05 11:35:15 -08:00
prepare-commit-msg Fix pre-commit, prepare-commit-msg hooks 2014-12-05 11:35:15 -08:00