mirror of
https://github.com/git/git
synced 2024-08-27 11:39:22 +00:00
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.
|
||||
|
||||
. git-sh-setup
|
||||
test -x "$GIT_DIR/hooks/commit-msg" &&
|
||||
exec "$GIT_DIR/hooks/commit-msg" ${1+"$@"}
|
||||
:
|
||||
|
|
|
@ -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+"$@"}
|
||||
:
|
||||
|
|
Loading…
Reference in a new issue