Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Documentation/config.txt: document mailinfo.scissors
[gitweb.git]
/
streaming.c
diff --git
a/streaming.c
b/streaming.c
index d7c9f32f0ce98112ddd4d4a8499b227b181e09e6..2ff036a0fa6c8e7b013d061d16baf33045305950 100644
(file)
--- a/
streaming.c
+++ b/
streaming.c
@@
-152,8
+152,10
@@
struct git_istream *open_istream(const unsigned char *sha1,
if (filter) {
/* Add "&& !is_null_stream_filter(filter)" for performance */
struct git_istream *nst = attach_stream_filter(st, filter);
- if (!nst)
+ if (!nst)
{
close_istream(st);
+ return NULL;
+ }
st = nst;
}