diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2012-01-16 16:46:12 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-01-16 16:26:25 -0800 |
commit | 6f48d39fa4d3e364c81d3cbbbd656c804b9ec873 (patch) | |
tree | 302dc1ed31982717e009ab398675893b10411671 /url.c | |
parent | 960b7d1c62bb8010954890b090546382161ae731 (diff) | |
download | git-6f48d39fa4d3e364c81d3cbbbd656c804b9ec873.tar.gz git-6f48d39fa4d3e364c81d3cbbbd656c804b9ec873.tar.xz |
clone: delay cloning until after remote HEAD checking
This gives us an opportunity to abort the command during remote HEAD
check without wasting much bandwidth.
Cloning with remote-helper remains before the check because the remote
helper updates mapped_refs, which is necessary for remote ref checks.
foreign_vcs field is used to indicate the transport is handled by
remote helper.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'url.c')
0 files changed, 0 insertions, 0 deletions