From: Miklos Vajna Date: Wed, 17 Dec 2008 21:29:06 +0000 (+0100) Subject: githooks documentation: add a note about the +x mode X-Git-Tag: v1.6.1-rc4~24 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1df27132493171294d0d2b53bd75bb8e131eea2b;p=git.git githooks documentation: add a note about the +x mode In a freshly initialized repo it is only necessary to rename the .sample hooks, but when using older repos (initialized with older git init) enabled the +x mode is still necessary - docuement this. Signed-off-by: Miklos Vajna Signed-off-by: Junio C Hamano --- diff --git a/Documentation/githooks.txt b/Documentation/githooks.txt index 5faaaa5fe..cfdae1efa 100644 --- a/Documentation/githooks.txt +++ b/Documentation/githooks.txt @@ -20,6 +20,10 @@ directory to trigger action at certain points. When all disabled. To enable a hook, rename it by removing its `.sample` suffix. +NOTE: It is also a requirement for a given hook to be executable. +However - in a freshly initialized repository - the `.sample` files are +executable by default. + This document describes the currently defined hooks. applypatch-msg