]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'nd/reject-empty-shallow-request'
authorJunio C Hamano <gitster@pobox.com>
Mon, 25 Jun 2018 20:22:40 +0000 (13:22 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 Jun 2018 20:22:40 +0000 (13:22 -0700)
"git fetch --shallow-since=<cutoff>" that specifies the cut-off
point that is newer than the existing history used to end up
grabbing the entire history.  Such a request now errors out.

* nd/reject-empty-shallow-request:
  upload-pack: reject shallow requests that would return nothing

1  2 
shallow.c
t/t5500-fetch-pack.sh

diff --cc shallow.c
Simple merge
Simple merge