summaryrefslogtreecommitdiff
path: root/templates/hooks--pre-applypatch
diff options
context:
space:
mode:
Diffstat (limited to 'templates/hooks--pre-applypatch')
-rw-r--r--templates/hooks--pre-applypatch1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/hooks--pre-applypatch b/templates/hooks--pre-applypatch
index a547516..5f56ce8 100644
--- a/templates/hooks--pre-applypatch
+++ b/templates/hooks--pre-applypatch
@@ -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+"$@"}
: