cat-file --batch: flush stdout also when objects are missing
commit422b206342047c9290362caeaa10cddbe3f9a23e
authorLea Wiemann <lewiemann@gmail.com>
Tue, 3 Jun 2008 18:34:17 +0000 (3 20:34 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 3 Jun 2008 19:40:12 +0000 (3 12:40 -0700)
tree4bde6091864159f198fa03985b5e1c2a4777a349
parent02c17196e323d64b2062eb90b661ff3c65de1a07
cat-file --batch: flush stdout also when objects are missing

cat-file --batch/--batch-check only flushes stdout when the object
exists, but not when it doesn't ("<object> missing").  This makes
bidirectional pipes hang.

Signed-off-by: Lea Wiemann <LeWiemann@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-cat-file.c