From: Sven Verdoolaege Date: Mon, 09 Jul 2007 09:48:33 GMT Subject: Re: [PATCH 4/4] Add git-rewrite-commits Message-ID: <20070709094833.GQ1528MdfPADPa@greensroom.kotnet.org> In-Reply-To: <4691F96E.D869DF97@eudaptics.com> On Mon, Jul 09, 2007 at 11:01:34AM +0200, Johannes Sixt wrote: > Sven Verdoolaege wrote: > > I guess the major thing that is missing is --subdirectory-filter. > > Anything else? > > Yes, how about this: > > $ git rewrite-commits --index-map ' > testresult=$($HOME/bin/expensive-test); > [ $testresult = t ] && $HOME/bin/tweak-index ' \ > --commit-map ' > [ $testresult = t ] && $HOME/bin/tweak-commit ' > > :-P You can write the result of expensive-test to a temporary file. skimo