Merge branch 'jk/clone-unborn-head-in-bare' into maint
"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
@ -237,6 +237,19 @@ test_expect_success '...but not if explicitly forbidden by config' '
@@ -237,6 +237,19 @@ test_expect_success '...but not if explicitly forbidden by config' '