Mike Hommey <mh@xxxxxxxxxxxx> writes: > On Fri, Feb 29, 2008 at 05:53:31PM -0500, Jeff King wrote: >> On Fri, Feb 29, 2008 at 11:23:25PM +0100, Mike Hommey wrote: >> >> > test_expect_success "virtual trees were processed" "git diff expect out" >> > >> > -git reset --hard >> > +git reset --hard >&3 2>&4 >> > test_expect_success 'refuse to merge binary files' ' >> > printf "\0" > binary-file && >> > git add binary-file && >> >> Should this perhaps just be: >> >> test_expect_success 'reset state' 'git reset --hard' > > Is it really about testing git reset ? No, it is about setting the stage to perform the test in question, so it belongs inside. -- 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