Code

remote-curl: accept empty line as terminator
authorSverre Rabbelier <srabbelier@gmail.com>
Sat, 16 Jul 2011 13:03:29 +0000 (15:03 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 19 Jul 2011 18:17:47 +0000 (11:17 -0700)
commit1843f0ce4d31e3c37f7d07dd1d13f6fb034ac2b0
treef68233423dd9b783f6a012ea5df264aec77d47fb
parente173587252ea0db16efc5c64c2cb165ccb406495
remote-curl: accept empty line as terminator

This went unnoticed because the transport helper infrastructore did
not check the return value of the helper, nor did the helper print
anything before exiting.

While at it also make sure that the stream doesn't end unexpectedly.

Signed-off-by: Sverre Rabbelier <srabbelier@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
remote-curl.c