hooks/commit-msg: add example to add Signed-off-by line to message
[gitweb.git] / templates / hooks--applypatch-msg
index bda3c86be732b5fae98291f8fadd76b916fde5ed..02de1ef84c9b8c2c2659048269784ee8cfd1bbb5 100644 (file)
@@ -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+"$@"}
 :