X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=templates%2Fhooks--pre-applypatch;h=5f56ce8053a40919cbf02010e29f185b6f9d8784;hb=fb6a9f93d39e4e5fdb83673a927f71a34e9fb7c0;hp=a54751600ef85cce0480a2edfc43621104becd8c;hpb=90768daaa006516c7ae69ed89d7c2e67243dfac1;p=git.git diff --git a/templates/hooks--pre-applypatch b/templates/hooks--pre-applypatch index a5475160..5f56ce80 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+"$@"} :