X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=templates%2Fhooks--applypatch-msg;h=02de1ef84c9b8c2c2659048269784ee8cfd1bbb5;hb=fb6a9f93d39e4e5fdb83673a927f71a34e9fb7c0;hp=bda3c86be732b5fae98291f8fadd76b916fde5ed;hpb=d9ad59e7636d98daa6131e9fd2cb2b4f5745a853;p=git.git diff --git a/templates/hooks--applypatch-msg b/templates/hooks--applypatch-msg index bda3c86b..02de1ef8 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+"$@"} :