Skip to content

Commit 920a5d4

Browse files
trastgitster
authored andcommitted
Documentation/githooks: post-rewrite-copy-notes never existed
The documentation for the post-rewrite hook contains a paragraph from its early development, where the automatic notes copying facilities were not part of the series and thus this had to be a hook. Later versions of the series implemented notes copying as a core feature. Thus mentioning post-rewrite-copy-notes was never correct. As the other hooks do not have a "there is no default hook, but..." sentence unless they ship a sample hook in either templates or contrib, we simply remove the whole paragraph. Signed-off-by: Thomas Rast <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 9db41eb commit 920a5d4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Documentation/githooks.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -350,10 +350,6 @@ rebase::
350350
The commits are guaranteed to be listed in the order that they were
351351
processed by rebase.
352352

353-
There is no default 'post-rewrite' hook, but see the
354-
`post-receive-copy-notes` script in `contrib/hooks` for an example
355-
that copies your git-notes to the rewritten commits.
356-
357353

358354
GIT
359355
---

0 commit comments

Comments
 (0)