author | Junio C Hamano <gitster@pobox.com> | |
Thu, 12 Feb 2009 06:42:27 +0000 (22:42 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 13 Feb 2009 06:37:35 +0000 (22:37 -0800) | ||
commit | 5cd12b85fe8ff74f202a158511ead34e8aba584c | |
tree | c77b7ebd854dc584810b85126c1c7e7fe6031172 | tree | snapshot |
parent | 1a526d483865d85aca3a10c650e85c44ad1f001b | commit | diff |
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>
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 | diff | blob | history | |
t/t5601-clone.sh | diff | blob | history |