summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 53682f0)
raw | patch | inline | side by side (parent: 53682f0)
author | Miklos Vajna <vmiklos@frugalware.org> | |
Wed, 17 Dec 2008 21:29:06 +0000 (22:29 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 17 Dec 2008 21:37:14 +0000 (13:37 -0800) |
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>
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>
Documentation/githooks.txt | patch | blob | history |
index 5faaaa5fedcd0d61234d3927a89d77144f2a15ad..cfdae1efa2d446e76218df7a2586a26789a151f6 100644 (file)
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