Skip to contentSkip to conversation

git-commit.txt: list post-rewrite in HOOKS section

PATCH New Nguyễn Thái Ngọc Duy 1 participant 1 message Mar 19, 2017 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 git-commit.txt: list post-rewrite in HOOKS section

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.

---
 Documentation/git-commit.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/git-commit.txt +1 -1
index 25dcdcc289..ed0f5b94b3 100644
@@ -463,7 +463,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
Signature · 1 line
2.11.0.157.gd943d85