summaryrefslogtreecommitdiff
path: root/Documentation/git-commit.txt
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2017-03-19 16:01:02 +0700
committerJunio C Hamano <gitster@pobox.com>2017-03-20 10:53:29 -0700
commitbaced9e4e5f0206f76f538ea1517c5097443359d (patch)
tree0a0a239d50c87b4ec91efc2eca3bda0afd79c26e /Documentation/git-commit.txt
parent7c9c2f8c394a4c1f4e09d6d5542c4e7965cc9240 (diff)
downloadgit-baced9e4e5f0206f76f538ea1517c5097443359d.tar.gz
git-commit.txt: list post-rewrite in HOOKS sectionnd/commit-hook-doc-fix
The hook was added in a86ed83cce (Merge branch 'tr/notes-display' - 2010-03-24), which updated githooks.txt but not git-commit.txt. git-commit.txt was later updated in e858af6d50 (commit: document a couple of options - 2012-06-08). Since this commit focused on command line options, this section was probably forgotten. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-commit.txt')
-rw-r--r--Documentation/git-commit.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-commit.txt b/Documentation/git-commit.txt
index 4f8f20a360..2763edb7a7 100644
--- a/Documentation/git-commit.txt
+++ b/Documentation/git-commit.txt
@@ -460,7 +460,7 @@ order). See linkgit:git-var[1] for details.
HOOKS
-----
This command can run `commit-msg`, `prepare-commit-msg`, `pre-commit`,
-and `post-commit` hooks. See linkgit:githooks[5] for more
+`post-commit` and `post-rewrite` hooks. See linkgit:githooks[5] for more
information.
FILES