From: Junio C Hamano Date: Tue, 19 Jul 2022 23:40:17 +0000 (-0700) Subject: Merge branch 'jk/clone-unborn-confusion' X-Git-Tag: v2.38.0-rc0~142 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cf92cb29e92bd442c5092e677a7e49e021344e65;p=thirdparty%2Fgit.git Merge branch 'jk/clone-unborn-confusion' "git clone" from a repository with some ref whose HEAD is unborn did not set the HEAD in the resulting repository correctly, which has been corrected. * jk/clone-unborn-confusion: clone: move unborn head creation to update_head() clone: use remote branch if it matches default HEAD clone: propagate empty remote HEAD even with other branches clone: drop extra newline from warning message --- cf92cb29e92bd442c5092e677a7e49e021344e65