diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2008-12-17 22:29:06 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-12-17 13:37:14 -0800 |
commit | 1df27132493171294d0d2b53bd75bb8e131eea2b (patch) | |
tree | a7b1e438ffe10b2b4e40e7bdcef259916e76d695 | |
parent | 53682f0c9e7545c6fa891896a5de4ad441a76147 (diff) | |
download | git-1df27132493171294d0d2b53bd75bb8e131eea2b.tar.gz git-1df27132493171294d0d2b53bd75bb8e131eea2b.tar.xz |
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 <vmiklos@frugalware.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | Documentation/githooks.txt | 4 |
1 files changed, 4 insertions, 0 deletions
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 |