t1300: attempting to remove a non-existent .git/config is not an error
commit795290e528deeb4b0578b366af6b4c0c6773e2c9
authorJohannes Sixt <j6t@kdbg.org>
Wed, 19 Oct 2011 07:37:06 +0000 (19 09:37 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 19 Oct 2011 17:11:42 +0000 (19 10:11 -0700)
tree66de8b321a8ded0e41aa99442b85af84820d1044
parent88d42af893ba2a5cff01506e623f3543ef78f9ed
t1300: attempting to remove a non-existent .git/config is not an error

Since some tests before test number 79 ("quoting") are skipped, .git/config
does not exist and 'rm .git/config' fails. Fix this particular case.

While at it, move other instance of 'rm .git/config' that occur in this
file inside the test function to document that the test cases want to
protect themselves from remnants of earlier tests.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1300-repo-config.sh