git p4: implement view spec wildcards with "p4 where"
[gitweb.git] / streaming.c
index acc07a6ff10cbd951945be56217e52b219661414..debe904523252ae4fd2e18784641575c3f828dd2 100644 (file)
@@ -149,7 +149,7 @@ struct git_istream *open_istream(const unsigned char *sha1,
                        return NULL;
                }
        }
-       if (st && filter) {
+       if (filter) {
                /* Add "&& !is_null_stream_filter(filter)" for performance */
                struct git_istream *nst = attach_stream_filter(st, filter);
                if (!nst)