]> git.ipfire.org Git - thirdparty/git.git/commit
test-read-cache: set up repo after git directory
authorLessley Dennington <lessleydennington@gmail.com>
Mon, 6 Dec 2021 15:55:57 +0000 (15:55 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 6 Dec 2021 17:55:05 +0000 (09:55 -0800)
commit27a443b8208b802a9856819d79175976f9a9b993
tree1fb91c88c94bf2daa268df367b19733db7441603
parent0803f9c7cdff63d0c6cb992ba90f53fdcae50869
test-read-cache: set up repo after git directory

Move repo setup to occur after git directory is set up. This will protect
against test failures in the upcoming change to BUG in
prepare_repo_settings if no git directory exists.

Signed-off-by: Lessley Dennington <lessleydennington@gmail.com>
Reviewed-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/helper/test-read-cache.c