perf: work around the tested repo having an index.lock
commit154ffeecc6b13082b06fab96e5de698d606aa790
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Fri, 2 Jun 2017 10:33:30 +0000 (2 10:33 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 5 Jun 2017 02:04:51 +0000 (5 11:04 +0900)
tree9c81facda781e25e22d63c053a45f0ebc1d83269
parent69e6b9b4f4a91ce90f2c38ed2fa89686f8aff44f
perf: work around the tested repo having an index.lock

When the tested repo has an index.lock file it should be removed. This
file may be present if e.g. git-status previously crashed in that
repo, and it will make a lot of git commands fail. Let's try harder
and remove the lock.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/perf/perf-lib.sh