upload-pack: report "not our ref" to client
commitbdb31eada76fd27d18e981c3b40889297fa889c6
authorJonathan Tan <jonathantanmy@google.com>
Thu, 23 Feb 2017 18:43:03 +0000 (23 10:43 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 23 Feb 2017 20:14:40 +0000 (23 12:14 -0800)
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 <jonathantanmy@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
upload-pack.c