Install the default "master" branch configuration after cloning a void
commit5cd12b85fe8ff74f202a158511ead34e8aba584c
authorJunio C Hamano <gitster@pobox.com>
Thu, 12 Feb 2009 06:42:27 +0000 (11 22:42 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 13 Feb 2009 06:37:35 +0000 (12 22:37 -0800)
treec77b7ebd854dc584810b85126c1c7e7fe6031172
parent1a526d483865d85aca3a10c650e85c44ad1f001b
Install the default "master" branch configuration after cloning a void

After "cloning from an empty repository", we have a configuration to
describe the remote's URL and the default ref mappings, but we lack the
branch configuration for the default branch we create on our end,
"master".

It is likely that the empty repository we cloned from will point the
default "master" branch with its HEAD, so prepare the local configuration
to match.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-clone.c
t/t5601-clone.sh