Merge branch 'maint'
* maint: sample hooks template.
This commit is contained in:
commit
ac5f7c62c2
@ -9,6 +9,7 @@
|
|||||||
#
|
#
|
||||||
# To enable this hook, make this file executable.
|
# To enable this hook, make this file executable.
|
||||||
|
|
||||||
|
. git-sh-setup
|
||||||
test -x "$GIT_DIR/hooks/commit-msg" &&
|
test -x "$GIT_DIR/hooks/commit-msg" &&
|
||||||
exec "$GIT_DIR/hooks/commit-msg" ${1+"$@"}
|
exec "$GIT_DIR/hooks/commit-msg" ${1+"$@"}
|
||||||
:
|
:
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
#
|
#
|
||||||
# To enable this hook, make this file executable.
|
# To enable this hook, make this file executable.
|
||||||
|
|
||||||
|
. git-sh-setup
|
||||||
test -x "$GIT_DIR/hooks/pre-commit" &&
|
test -x "$GIT_DIR/hooks/pre-commit" &&
|
||||||
exec "$GIT_DIR/hooks/pre-commit" ${1+"$@"}
|
exec "$GIT_DIR/hooks/pre-commit" ${1+"$@"}
|
||||||
:
|
:
|
||||||
|
Loading…
Reference in New Issue
Block a user