summaryrefslogtreecommitdiff
path: root/templates/hooks--applypatch-msg
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-02-26 23:25:52 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-02-26 23:25:52 (GMT)
commitac5f7c62c2d59cdad0813fcd8c999db96a4fc9e4 (patch)
treee5a14450bb0af3a540f1f9beeb445f2f7c250f19 /templates/hooks--applypatch-msg
parent231af8322ac5313243bc1e8beac8dfd9ff95051d (diff)
parenta204756a45bd357280c156d01858138712493dfa (diff)
downloadgit-ac5f7c62c2d59cdad0813fcd8c999db96a4fc9e4.zip
git-ac5f7c62c2d59cdad0813fcd8c999db96a4fc9e4.tar.gz
git-ac5f7c62c2d59cdad0813fcd8c999db96a4fc9e4.tar.bz2
Merge branch 'maint'
* maint: sample hooks template.
Diffstat (limited to 'templates/hooks--applypatch-msg')
-rw-r--r--templates/hooks--applypatch-msg1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/hooks--applypatch-msg b/templates/hooks--applypatch-msg
index bda3c86..02de1ef 100644
--- a/templates/hooks--applypatch-msg
+++ b/templates/hooks--applypatch-msg
@@ -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+"$@"}
: