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)
commit208ee598612092da892ac1c0e8dd0d4e09c4f076
tree014cf9a074e670f54a601ec2a6eb007b7555c068
parentf0209e80cf4468653e7730881b4c5bdb5fc7389a
parente34de73c5653c713e6edddc5a12c8befc50d311f
Merge branch 'nd/reject-empty-shallow-request'

"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
shallow.c
t/t5500-fetch-pack.sh