Documentation: migrate sub-process docs to header
[gitweb.git] / builtin / show-branch.c
index 527f69e283fd592c7b862b4ad6467d08d33e561c..7073a3eb9769cae1f00e714a93528b33ca651d9c 100644 (file)
@@ -438,7 +438,7 @@ static int append_matching_ref(const char *refname, const struct object_id *oid,
                        slash--;
        if (!*tail)
                return 0;
-       if (wildmatch(match_ref_pattern, tail, 0, NULL))
+       if (wildmatch(match_ref_pattern, tail, 0))
                return 0;
        if (starts_with(refname, "refs/heads/"))
                return append_head_ref(refname, oid, flag, cb_data);