{"thread":{"id":"13337","subject":"[PATCH] Documentation: rename \"hooks.txt\" to \"githooks.txt\" and make it a man page","startedAt":"2008-04-30T21:11:53Z","lastAt":"2008-04-30T21:11:53Z","messageCount":1,"participants":["Christian Couder"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"75715","messageId":"20080430231153.113a75cd.chriscool@tuxfamily.org","threadId":"13337","inReplyTo":null,"subject":"[PATCH] Documentation: rename \"hooks.txt\" to \"githooks.txt\" and make it a man page","fromName":"Christian Couder","fromEmail":"chriscool@tuxfamily.org","sentAt":"2008-04-30T21:11:53Z","receivedAt":"2008-04-30T21:11:53Z","isPatch":true,"sender":{"key":"christian.couder@gmail.com","avatar":"https://avatars.githubusercontent.com/u/208954?v=4"},"body":"Also now \"gitcli(5)\" becomes \"gitcli(7)\".\n\nSigned-off-by: Christian Couder <chriscool@tuxfamily.org>\n---\n Documentation/Makefile                    |    5 ++---\n Documentation/gitcli.txt                  |    2 +-\n Documentation/{hooks.txt => githooks.txt} |   20 ++++++++++++++++++--\n 3 files changed, 21 insertions(+), 6 deletions(-)\n rename Documentation/{hooks.txt => githooks.txt} (98%)\n\n\tHere is a patch made with \"git format-patch -M ...\"\n\ndiff --git a/Documentation/Makefile b/Documentation/Makefile\nindex 43781fb..4144d1e 100644\n--- a/Documentation/Makefile\n+++ b/Documentation/Makefile\n@@ -2,8 +2,8 @@ MAN1_TXT= \\\n \t$(filter-out $(addsuffix .txt, $(ARTICLES) $(SP_ARTICLES)), \\\n \t\t$(wildcard git-*.txt)) \\\n \tgitk.txt\n-MAN5_TXT=gitattributes.txt gitignore.txt gitcli.txt gitmodules.txt\n-MAN7_TXT=git.txt\n+MAN5_TXT=gitattributes.txt gitignore.txt gitmodules.txt githooks.txt\n+MAN7_TXT=git.txt gitcli.txt\n \n MAN_TXT = $(MAN1_TXT) $(MAN5_TXT) $(MAN7_TXT)\n MAN_XML=$(patsubst %.txt,%.xml,$(MAN_TXT))\n@@ -18,7 +18,6 @@ ARTICLES += cvs-migration\n ARTICLES += diffcore\n ARTICLES += howto-index\n ARTICLES += repository-layout\n-ARTICLES += hooks\n ARTICLES += everyday\n ARTICLES += git-tools\n ARTICLES += glossary\ndiff --git a/Documentation/gitcli.txt b/Documentation/gitcli.txt\nindex 7ee5ce3..835cb05 100644\n--- a/Documentation/gitcli.txt\n+++ b/Documentation/gitcli.txt\n@@ -1,4 +1,4 @@\n-gitcli(5)\n+gitcli(7)\n =========\n \n NAME\ndiff --git a/Documentation/hooks.txt b/Documentation/githooks.txt\nsimilarity index 98%\nrename from Documentation/hooks.txt\nrename to Documentation/githooks.txt\nindex 44fbe58..62ee065 100644\n--- a/Documentation/hooks.txt\n+++ b/Documentation/githooks.txt\n@@ -1,5 +1,17 @@\n-Hooks used by git\n-=================\n+githooks(5)\n+===========\n+\n+NAME\n+----\n+githooks - Hooks used by git\n+\n+SYNOPSIS\n+--------\n+$GIT_DIR/hooks/*\n+\n+\n+DESCRIPTION\n+-----------\n \n Hooks are little scripts you can place in `$GIT_DIR/hooks`\n directory to trigger action at certain points.  When\n@@ -283,3 +295,7 @@ pre-auto-gc\n This hook is invoked by `git-gc --auto`. It takes no parameter, and\n exiting with non-zero status from this script causes the `git-gc --auto`\n to abort.\n+\n+GIT\n+---\n+Part of the linkgit:git[7] suite\n-- \n1.5.5.1.100.gc23d\n"}]}