summaryrefslogtreecommitdiffstats
path: root/githooks.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-09-30 14:07:45 +0900
committerJunio C Hamano <gitster@pobox.com>2019-09-30 14:07:45 +0900
commita8858316fb3186e69d324183d9af58ef55dfb794 (patch)
tree4f60790af5953a6a07e822d2b92123ac3263ed3c /githooks.txt
parentcb705397f111dc1fcb3e3fa844bfd5b3050dee38 (diff)
downloadgit-htmldocs-a8858316fb3186e69d324183d9af58ef55dfb794.tar.gz
Autogenerated HTML docs for v2.23.0-385-gbc129
Diffstat (limited to 'githooks.txt')
-rw-r--r--githooks.txt10
1 files changed, 6 insertions, 4 deletions
diff --git a/githooks.txt b/githooks.txt
index 57d6e2b98..50365f291 100644
--- a/githooks.txt
+++ b/githooks.txt
@@ -447,10 +447,12 @@ post-rewrite
This hook is invoked by commands that rewrite commits
(linkgit:git-commit[1] when called with `--amend` and
-linkgit:git-rebase[1]; currently `git filter-branch` does 'not' call
-it!). Its first argument denotes the command it was invoked by:
-currently one of `amend` or `rebase`. Further command-dependent
-arguments may be passed in the future.
+linkgit:git-rebase[1]; however, full-history (re)writing tools like
+linkgit:git-fast-import[1] or
+https://github.com/newren/git-filter-repo[git-filter-repo] typically
+do not call it!). Its first argument denotes the command it was
+invoked by: currently one of `amend` or `rebase`. Further
+command-dependent arguments may be passed in the future.
The hook receives a list of the rewritten commits on stdin, in the
format