From: Johannes Sixt Date: Mon, 15 Feb 2010 20:36:05 GMT Subject: Re: [RFC PATCH 3/6] filter-branch: invoke post-rewrite hook Message-ID: <4B79B035.2080604@kdbg.org> In-Reply-To: <0ad4b8c1a5377d697513cd8e49f64419cd8deef4.1266164150.git.trast@student.ethz.ch> Thomas Rast schrieb: > +if test -x "$GIT_DIR"/hooks/post-rewrite && > + test -s "$workdir"/../rewritten; then > + "$GIT_DIR"/hooks/post-rewrite filter-branch < "$workdir"/../rewritten > +fi This sounds extra-strange. As if filter-branch is used 20 times a day. If the intent is to carry notes over to new commits, then filter-branch should grow a --notes-filter instruction, no? With an easily accessible copy-everything mode like --tagname-filter=cat. -- Hannes