]> git.ipfire.org Git - thirdparty/git.git/commit
tests: don't assume a .git/info for .git/info/sparse-checkout
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Fri, 3 Jun 2022 11:15:09 +0000 (13:15 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 6 Jun 2022 19:00:21 +0000 (12:00 -0700)
commitead74601c6ed7171e9e736e329b45c12d90153e4
tree767934eb412412123a3181020f98c41f2f3c3a42
parent1d758728fb26f574169b7f0b420e59af1d0c3c84
tests: don't assume a .git/info for .git/info/sparse-checkout

Change those tests that assumed that a .git/info directory would be
created for them when writing .git/info/sparse-checkout to explicitly
create the directory by setting "TEST_CREATE_REPO_NO_TEMPLATE=1"
before sourcing test-lib.sh, and using the "--template=" argument to
"git clone".

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1011-read-tree-sparse-checkout.sh
t/t1090-sparse-checkout-scope.sh
t/t2018-checkout-branch.sh
t/t3507-cherry-pick-conflict.sh
t/t6435-merge-sparse.sh
t/t7418-submodule-sparse-gitmodules.sh