gc --aggressive: make --depth configurable
[gitweb.git] / builtin / tag.c
index 74d3780b77548fc8a7bb2f51b47a51cbfb51969a..169c676636ff6b320f32f13126a5ff46b222f879 100644 (file)
@@ -42,7 +42,7 @@ static int match_pattern(const char **patterns, const char *ref)
        if (!*patterns)
                return 1;
        for (; *patterns; patterns++)
-               if (!fnmatch(*patterns, ref, 0))
+               if (!wildmatch(*patterns, ref, 0, NULL))
                        return 1;
        return 0;
 }