mirror of
https://github.com/git/git
synced 2024-10-30 04:01:21 +00:00
30dea56536
When a smart HTTP server sends an error message via pkt-line, we detect
the error due to using PACKET_READ_DIE_ON_ERR_PACKET. This case was
added by 2d103c31c2
(pack-protocol.txt: accept error packets in any
context, 2018-12-29), but not covered by tests.
Signed-off-by: Josh Steadmon <steadmon@google.com>
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
3 lines
110 B
Bash
3 lines
110 B
Bash
echo "Content-Type: application/x-git-upload-pack-advertisement"
|
|
echo
|
|
printf "%s" "0019ERR server-side error"
|