On Sun, Apr 07, 2013 at 12:46:23PM -0500, Felipe Contreras wrote: > [snip] > > +test_expect_success 'cover letter auto' ' > + mkdir -p tmp && > + test_when_finished "rm -rf tmp; > + git config --unset format.coverletter" && > + > + git config format.coverletter auto && test_config format.coverletter auto && takes automatically care of the git config --unset cleanup. I'm not sure if it's better to use test_when_finished with rm or just && rm -rf tmp at the end of the test in case someone wants to look at the output. Regards Simon -- + privacy is necessary + using gnupg http://gnupg.org + public key id: 0x92FEFDB7E44C32F9 -- 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