From: Johannes Sixt Date: Mon, 09 Jul 2007 09:01:34 GMT Subject: Re: [PATCH 4/4] Add git-rewrite-commits Message-ID: <4691F96E.D869DF97@eudaptics.com> In-Reply-To: <20070708211034.GO1528MdfPADPa@greensroom.kotnet.org> 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 -- Hannes