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 | |
parent | 4fce51cf415909be84e3a1449900e3fdea775b76 (diff) | |
download | git-d1983677f75469d177b0b948f0b66ad3471a26a2.tar.gz git-d1983677f75469d177b0b948f0b66ad3471a26a2.tar.xz |
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>
-rw-r--r-- | Documentation/gitrepository-layout.txt | 3 | ||||
-rw-r--r-- | Documentation/glossary-content.txt | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Documentation/gitrepository-layout.txt b/Documentation/gitrepository-layout.txt index a969b3fbc..1befca98d 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. diff --git a/Documentation/glossary-content.txt b/Documentation/glossary-content.txt index 9b4a4f45e..9afca755e 100644 --- a/Documentation/glossary-content.txt +++ b/Documentation/glossary-content.txt @@ -183,7 +183,8 @@ to point at the new commit. and potentially aborted, and allow for a post-notification after the operation is done. The hook scripts are found in the `$GIT_DIR/hooks/` directory, and are enabled by simply - making them executable. + removing the `.sample` suffix from the filename. In earlier versions + of git you had to make them executable. [[def_index]]index:: A collection of files with stat information, whose contents are stored |