summaryrefslogtreecommitdiff
path: root/contrib/coccinelle
diff options
context:
space:
mode:
authorLibravatar Matt McCutchen <matt@mattmccutchen.net>2017-02-22 11:05:57 -0500
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-03-02 11:12:53 -0800
commitd56583ded679f2eade3994d855c8d605e2964710 (patch)
tree0e0774cb387c973b2c97d8e9e2e06e34c3c2f382 /contrib/coccinelle
parentfetch_refs_via_pack: call report_unmatched_refs (diff)
downloadtgif-d56583ded679f2eade3994d855c8d605e2964710.tar.xz
fetch-pack: add specific error for fetching an unadvertised object
Enhance filter_refs (which decides whether a request for an unadvertised object should be sent to the server) to record a new match status on the "struct ref" when a request is not allowed, and have report_unmatched_refs check for this status and print a special error message, "Server does not allow request for unadvertised object". Signed-off-by: Matt McCutchen <matt@mattmccutchen.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/coccinelle')
0 files changed, 0 insertions, 0 deletions