author | Lea Wiemann <lewiemann@gmail.com> | |
Tue, 3 Jun 2008 18:34:17 +0000 (20:34 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 3 Jun 2008 19:40:12 +0000 (12:40 -0700) | ||
commit | 422b206342047c9290362caeaa10cddbe3f9a23e | |
tree | 4bde6091864159f198fa03985b5e1c2a4777a349 | tree | snapshot |
parent | 02c17196e323d64b2062eb90b661ff3c65de1a07 | commit | diff |
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>
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 | diff | blob | history |