grep: recurse in-process using 'struct repository'
[gitweb.git] / builtin / name-rev.c
index e21715f1d0874171bcda2486adb4d27ea5cbbc99..c41ea7c2a62ba868061884e511256c24f4d020d9 100644 (file)
@@ -130,7 +130,7 @@ static int subpath_matches(const char *path, const char *filter)
        const char *subpath = path;
 
        while (subpath) {
-               if (!wildmatch(filter, subpath, 0, NULL))
+               if (!wildmatch(filter, subpath, 0))
                        return subpath - path;
                subpath = strchr(subpath, '/');
                if (subpath)