diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2013-12-05 10:31:11 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-12-06 12:57:10 -0800 |
commit | 5594bcad21da70d2e9704cf96baa91b8d99dc27b (patch) | |
tree | 90367668eb9e3dcbe759e1bf92f3f9b385b015b0 /connect.c | |
parent | 2f93541d88fadd1ff5307d81c2c8921ee3eea058 (diff) | |
download | git-5594bcad21da70d2e9704cf96baa91b8d99dc27b.tar.gz |
clone,fetch: catch non positive --depth option valuend/transport-positive-depth-only
Instead of simply ignoring the value passed to --depth option when
it is zero or negative, catch and report it as an error to let
people know that they were using the option incorrectly.
Original-patch-by: Andrés G. Aragoneses <knocte@gmail.com>
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 'connect.c')
0 files changed, 0 insertions, 0 deletions