Merge branch 'mt/p4-parse-G-output'
[gitweb.git] / builtin / replace.c
index 80a15cf35f3fa5a1a7c038924a84e34fdc15aa0b..fba336a68a375e20e9b40d332eb58a3f302249fa 100644 (file)
@@ -41,7 +41,7 @@ static int show_reference(const char *refname, const struct object_id *oid,
 {
        struct show_data *data = cb_data;
 
-       if (!wildmatch(data->pattern, refname, 0, NULL)) {
+       if (!wildmatch(data->pattern, refname, 0)) {
                if (data->format == REPLACE_FORMAT_SHORT)
                        printf("%s\n", refname);
                else if (data->format == REPLACE_FORMAT_MEDIUM)