]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jk/clone-unborn-head-in-bare'
authorJunio C Hamano <gitster@pobox.com>
Mon, 4 Oct 2021 04:49:17 +0000 (21:49 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 4 Oct 2021 04:49:17 +0000 (21:49 -0700)
"git clone" from a repository whose HEAD is unborn into a bare
repository didn't follow the branch name the other side used, which
is corrected.

* jk/clone-unborn-head-in-bare:
  clone: handle unborn branch in bare repos

1  2 
builtin/clone.c
t/t5702-protocol-v2.sh

diff --cc builtin/clone.c
Simple merge
Simple merge