diff options
author | Markus Heidelberg <markus.heidelberg@web.de> | 2008-12-17 03:59:23 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-12-17 00:57:33 -0800 |
commit | d1983677f75469d177b0b948f0b66ad3471a26a2 (patch) | |
tree | 8907aa7fbb5416cdd58a4566d2a3eb1d9d9ebaab /Documentation/gitrepository-layout.txt | |
parent | 4fce51cf415909be84e3a1449900e3fdea775b76 (diff) | |
download | git-d1983677f75469d177b0b948f0b66ad3471a26a2.tar.gz |
Documentation: fix description for enabling hooks
Since f98f8cb (Ship sample hooks with .sample suffix, 2008-06-24) hooks
are not enabled by making them executable anymore, but by removing the
'.sample' suffix from the filename.
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/gitrepository-layout.txt')
-rw-r--r-- | Documentation/gitrepository-layout.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/gitrepository-layout.txt b/Documentation/gitrepository-layout.txt index a969b3fbc3..1befca98d4 100644 --- a/Documentation/gitrepository-layout.txt +++ b/Documentation/gitrepository-layout.txt @@ -134,7 +134,8 @@ hooks:: Hooks are customization scripts used by various git commands. A handful of sample hooks are installed when 'git-init' is run, but all of them are disabled by - default. To enable, they need to be made executable. + default. To enable, the `.sample` suffix has to be + removed from the filename by renaming. Read linkgit:githooks[5] for more details about each hook. |