Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-03-20 01:25:37 +0300
committerJunio C Hamano <gitster@pobox.com>2021-03-20 01:25:38 +0300
commitcc930b7472a4122e80d4333c82dfab852d39d2c1 (patch)
tree9e5e0dbf3040c54f766b75767fb9e7eb27f74912 /t/t5606-clone-options.sh
parent1dd4e7452295618b20703deffc4241bf7dd4be4f (diff)
parent5f70859c1534417f93c2edcdb96a71db80492388 (diff)
Merge branch 'jt/clone-unborn-head'
Test fix. * jt/clone-unborn-head: t5606: run clone branch name test with protocol v2
Diffstat (limited to 't/t5606-clone-options.sh')
-rwxr-xr-xt/t5606-clone-options.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5606-clone-options.sh b/t/t5606-clone-options.sh
index 52e5789fb0..1da6ddb2c5 100755
--- a/t/t5606-clone-options.sh
+++ b/t/t5606-clone-options.sh
@@ -109,7 +109,7 @@ test_expect_success 'chooses correct default initial branch name' '
git -c init.defaultBranch=foo init --bare empty &&
test_config -C empty lsrefs.unborn advertise &&
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME= \
- git -c init.defaultBranch=up clone empty whats-up &&
+ git -c init.defaultBranch=up -c protocol.version=2 clone empty whats-up &&
test refs/heads/foo = $(git -C whats-up symbolic-ref HEAD) &&
test refs/heads/foo = $(git -C whats-up config branch.foo.merge)
'