On Thu, Jan 29, 2009 at 03:01:45AM -0500, Jeff King wrote: > > In addition, perhaps it may make sense to use test_create_repo to go one > > level deeper before starting to play around, so that trash directory's > > repository will prevent you from going any further up. > > That sort of helps, but only by luck. Each test kills off one layer of > repo. So the first one kills the test_create_repo, and the second one > kills the trash directory. Adding another test would kill off the main > repo. :) So you have to do something per-test. I'll do that in the > re-roll. It occurs to me you perhaps did mean to do something per-test, like: test_create_repo foo && (cd foo && do_the_actual_test) That would work, too. -Peff -- 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