Skip to content

Commit

Permalink
Merge branch 'maint'
Browse files Browse the repository at this point in the history
* maint:
  sample hooks template.
  • Loading branch information
Junio C Hamano committed Feb 26, 2006
2 parents 231af83 + a204756 commit ac5f7c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions templates/hooks--applypatch-msg
Original file line number Diff line number Diff line change
Expand Up @@ -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+"$@"}
:
1 change: 1 addition & 0 deletions templates/hooks--pre-applypatch
Original file line number Diff line number Diff line change
Expand Up @@ -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+"$@"}
:
Expand Down

0 comments on commit ac5f7c6

Please sign in to comment.