Hi, On Mon, 9 Jul 2007, 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 ' As skimo almost hinted: this will not work. Once the index "map" exits, testresult is forgotten. Ciao, Dscho - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html