upload-pack: report "not our ref" to client
authorJonathan Tan <redacted>
Thu, 23 Feb 2017 18:43:03 +0000 (10:43 -0800)
committerJunio C Hamano <redacted>
Thu, 23 Feb 2017 20:14:40 +0000 (12:14 -0800)
commitbdb31eada76fd27d18e981c3b40889297fa889c6
treeeb802e80ee702823fc0da89f0e45c18bb192828a
parent3b9e3c2cede15057af3ff8076c45ad5f33829436
upload-pack: report "not our ref" to client

Make upload-pack report "not our ref" errors to the client as an "ERR" line.
(If not, the client would be left waiting for a response when the server is
already dead.)

Signed-off-by: Jonathan Tan <redacted>
Signed-off-by: Junio C Hamano <redacted>
upload-pack.c
git clone https://git.99rst.org/PROJECT