X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=templates%2Fhooks--pre-applypatch;h=5f56ce8053a40919cbf02010e29f185b6f9d8784;hb=892c41b98ae2e6baf3aa13901cb10db9ac67d2f3;hp=a54751600ef85cce0480a2edfc43621104becd8c;hpb=069b20a198f171512a1d2d2163b40f70c94f5257;p=git.git diff --git a/templates/hooks--pre-applypatch b/templates/hooks--pre-applypatch index a54751600..5f56ce805 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+"$@"} :