Skip to content

Commit cc930b7

Browse files
committed
Merge branch 'jt/clone-unborn-head'
Test fix. * jt/clone-unborn-head: t5606: run clone branch name test with protocol v2
2 parents 1dd4e74 + 5f70859 commit cc930b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t5606-clone-options.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ test_expect_success 'chooses correct default initial branch name' '
109109
git -c init.defaultBranch=foo init --bare empty &&
110110
test_config -C empty lsrefs.unborn advertise &&
111111
GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME= \
112-
git -c init.defaultBranch=up clone empty whats-up &&
112+
git -c init.defaultBranch=up -c protocol.version=2 clone empty whats-up &&
113113
test refs/heads/foo = $(git -C whats-up symbolic-ref HEAD) &&
114114
test refs/heads/foo = $(git -C whats-up config branch.foo.merge)
115115
'

0 commit comments

Comments
 (0)