ref-filter: move need_color_reset_at_eol into ref_format
[gitweb.git] / refs.c
diff --git a/refs.c b/refs.c
index 88658ba76960401e4ab246b597d1212f5b435de1..7aae78cb551fd2743982d7f9fc60e6de45df9a11 100644 (file)
--- a/refs.c
+++ b/refs.c
@@ -230,7 +230,7 @@ static int filter_refs(const char *refname, const struct object_id *oid,
 {
        struct ref_filter *filter = (struct ref_filter *)data;
 
-       if (wildmatch(filter->pattern, refname, 0, NULL))
+       if (wildmatch(filter->pattern, refname, 0))
                return 0;
        return filter->fn(refname, oid, flags, filter->cb_data);
 }