summaryrefslogtreecommitdiff
path: root/t/t4034/perl
diff options
context:
space:
mode:
authorLibravatar Mike Edgar <adgar@google.com>2015-06-17 07:48:14 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-06-17 12:03:58 -0700
commiteb86a507a150b8fbb34fb4e59bf9edbefbbad778 (patch)
tree0f3e81cc8eb23f01ab191b1447fe90e5c15cba07 /t/t4034/perl
parentMerge branch 'maint-1.9' into maint-2.0 (diff)
downloadtgif-eb86a507a150b8fbb34fb4e59bf9edbefbbad778.tar.xz
fetch-pack: check for shallow if depth given
When a repository is first fetched as a shallow clone, either by git-clone or by fetching into an empty repo, the server's capabilities are not currently consulted. The client will send shallow requests even if the server does not understand them, and the resulting error may be unhelpful to the user. This change pre-emptively checks so we can exit with a helpful error if necessary. Signed-off-by: Mike Edgar <adgar@google.com> Reviewed-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4034/perl')
0 files changed, 0 insertions, 0 deletions