summaryrefslogtreecommitdiffstats
path: root/t/t5510-fetch.sh
diff options
context:
space:
mode:
authorJohannes Schindelin <johannes.schindelin@gmx.de>2021-12-03 10:39:13 +0100
committerJunio C Hamano <gitster@pobox.com>2021-12-05 20:34:28 +0100
commit9f3547837e7565f37f587a1626e9c4af79aff275 (patch)
tree5d56cc223653fa6439da0bb108884afdbd0ca1e7 /t/t5510-fetch.sh
parentThe first batch to start the current cycle (diff)
downloadgit-9f3547837e7565f37f587a1626e9c4af79aff275.tar.xz
git-9f3547837e7565f37f587a1626e9c4af79aff275.zip
tests: set GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME only when needed
A couple of test scripts have actually been adapted to accommodate for a configurable default branch name, but they still overrode it via the `GIT_TEST_*` variable. Let's drop that override where possible. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5510-fetch.sh')
-rwxr-xr-xt/t5510-fetch.sh3
1 files changed, 0 insertions, 3 deletions
diff --git a/t/t5510-fetch.sh b/t/t5510-fetch.sh
index a0faf0dd94..8c33755c26 100755
--- a/t/t5510-fetch.sh
+++ b/t/t5510-fetch.sh
@@ -5,9 +5,6 @@ test_description='Per branch config variables affects "git fetch".
'
-GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=main
-export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME
-
. ./test-lib.sh
. "$TEST_DIRECTORY"/lib-bundle.sh