Merge branch 'maint'

* maint:
  sample hooks template.
This commit is contained in:
Junio C Hamano 2006-02-26 15:25:52 -08:00
commit ac5f7c62c2
2 changed files with 2 additions and 0 deletions

View file

@ -9,6 +9,7 @@
#
# To enable this hook, make this file executable.
. git-sh-setup
test -x "$GIT_DIR/hooks/commit-msg" &&
exec "$GIT_DIR/hooks/commit-msg" ${1+"$@"}
:

View file

@ -8,6 +8,7 @@
#
# To enable this hook, make this file executable.
. git-sh-setup
test -x "$GIT_DIR/hooks/pre-commit" &&
exec "$GIT_DIR/hooks/pre-commit" ${1+"$@"}
: