@matheusbsbs / matheus-bagliano / commits / 1df2713249
Fork 0

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>

Miklos Vajna committed Dec 17, 2008 at 22:29 UTC 1df27132493171294d0d2b53bd75bb8e131eea2b
1 file changed +4
Documentation/githooks.txt
+4
@@ -20,6 +20,10 @@ directory to trigger action at certain points. When
20 all disabled. To enable a hook, rename it by removing its `.sample`
21 suffix.
22
23 +NOTE: It is also a requirement for a given hook to be executable.
24 +However - in a freshly initialized repository - the `.sample` files are
25 +executable by default.
26 +
27 This document describes the currently defined hooks.
28
29 applypatch-msg