git-commit.txt: list post-rewrite in HOOKS section
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sun, 19 Mar 2017 09:01:02 +0000 (16:01 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 20 Mar 2017 17:53:29 +0000 (10:53 -0700)
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>
Documentation/git-commit.txt
index 4f8f20a3606201b1835affc523ff2828549d0285..2763edb7a71d9e0fba3487a2f371733ff682e0a5 100644 (file)
@@ -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