summaryrefslogtreecommitdiff
path: root/protocol.c
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2019-04-13 01:53:09 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-04-15 14:00:51 +0900
commit6963a4e4e1fe7b4668a954eeb05feab98d625ddc (patch)
treebdca47e57534aaf3a0eb05ad1550b2dd0527eda4 /protocol.c
parentt5516: drop ok=sigpipe from unreachable-want tests (diff)
downloadtgif-6963a4e4e1fe7b4668a954eeb05feab98d625ddc.tar.xz
t5530: check protocol response for "not our ref"
Back in 9f9aa76130 (upload-pack: Improve error message when bad ref requested, 2010-07-31), we added a test to make sure that we die with a sensible message when the client asks for an object we don't have. Much later, in bdb31eada7 (upload-pack: report "not our ref" to client, 2017-02-23), we started reporting that information via an "ERR" line in the protocol. Let's check that part, as well. While we're touching this test, let's drop the "-q" on the grep calls. Our usual test style just relies on --verbose to control output. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'protocol.c')
0 files changed, 0 insertions, 0 deletions