Re: [PATCH 4/4] Add git-rewrite-commits
- From
Johannes Sixt <j.sixt@eudaptics.com>
- Date
- Jul 9, 2007, 09:01 UTC
- 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