git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH maint] Documentation/githooks: post-rewrite-copy-notes never existed
@ 2011-01-10 12:42 Thomas Rast
  0 siblings, 0 replies; only message in thread
From: Thomas Rast @ 2011-01-10 12:42 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git

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 <trast@student.ethz.ch>
---
 Documentation/githooks.txt |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/Documentation/githooks.txt b/Documentation/githooks.txt
index 7183aa9..28edefa 100644
--- a/Documentation/githooks.txt
+++ b/Documentation/githooks.txt
@@ -350,10 +350,6 @@ rebase::
 The commits are guaranteed to be listed in the order that they were
 processed by rebase.
 
-There is no default 'post-rewrite' hook, but see the
-`post-receive-copy-notes` script in `contrib/hooks` for an example
-that copies your git-notes to the rewritten commits.
-
 
 GIT
 ---
-- 
1.7.4.rc1.309.g58aa0

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-01-10 12:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-10 12:42 [PATCH maint] Documentation/githooks: post-rewrite-copy-notes never existed Thomas Rast

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).