From: Matthieu Moy Date: Mon, 07 Jul 2014 07:11:37 GMT Subject: Re: [PATCH v5 2/2] test-config: Add tests for the config_set API Message-ID: In-Reply-To: Ramkumar Ramachandra writes: > A couple of quick nits. > > Tanay Abhra wrote: >> +test_expect_success 'clear default config' ' >> + rm -f .git/config >> +' > > Unnecessary; a fresh temporary directory is created for each test run. Hmm, fresh, but not empty. Anyway, the next test does a cat > on this file, so it will erase its content, so the "rm -f" is actually not needed. -- Matthieu Moy http://www-verimag.imag.fr/~moy/