diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-02-18 04:21:40 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-02-18 04:21:40 +0300 |
commit | 69571dfe219f48614e0e0ae7e28efae0be297764 (patch) | |
tree | 74213c28659aa3dbcb9ad78a9a6bd946d0c5f6dd /t/t5701-git-serve.sh | |
parent | 0871fb9af5aa03a56c42a9257589248624d75eb8 (diff) | |
parent | 4f37d45706514a4b3d0259d26f719678a0cf3521 (diff) |
Merge branch 'jt/clone-unborn-head'
"git clone" tries to locally check out the branch pointed at by
HEAD of the remote repository after it is done, but the protocol
did not convey the information necessary to do so when copying an
empty repository. The protocol v2 learned how to do so.
* jt/clone-unborn-head:
clone: respect remote unborn HEAD
connect, transport: encapsulate arg in struct
ls-refs: report unborn targets of symrefs
Diffstat (limited to 't/t5701-git-serve.sh')
-rwxr-xr-x | t/t5701-git-serve.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5701-git-serve.sh b/t/t5701-git-serve.sh index d9143b4bd2..509f379d49 100755 --- a/t/t5701-git-serve.sh +++ b/t/t5701-git-serve.sh @@ -15,7 +15,7 @@ test_expect_success 'test capability advertisement' ' cat >expect <<-EOF && version 2 agent=git/$(git version | cut -d" " -f3) - ls-refs + ls-refs=unborn fetch=shallow server-option object-format=$(test_oid algo) |