summaryrefslogtreecommitdiff
path: root/Documentation/git-parse-remote.txt
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2013-12-05 20:02:53 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-12-10 16:14:18 -0800
commit0d7d285f0e29abb994fe32db87ee81b00f403bd2 (patch)
treed4faea61b13c73cdd418cdcdc1f4323fe2b1a414 /Documentation/git-parse-remote.txt
parentsend-pack: support pushing from a shallow clone via http (diff)
downloadtgif-0d7d285f0e29abb994fe32db87ee81b00f403bd2.tar.xz
clone: use git protocol for cloning shallow repo locally
clone_local() does not handle $SRC/shallow. It could be made so, but it's simpler to use fetch-pack/upload-pack instead. This used to be caught by the check in upload-pack, which is triggered by transport_get_remote_refs(), even in local clone case. The check is now gone and check_everything_connected() should catch the result incomplete repo. But check_everything_connected() will soon be skipped in local clone case, opening a door to corrupt repo. This patch should close that door. 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 'Documentation/git-parse-remote.txt')
0 files changed, 0 insertions, 0 deletions