Merge branch 'ks/typofix-commit-c-comment'
[gitweb.git] / builtin / show-branch.c
index 3636a05594de18639bced97a1e18a128632bc00d..7073a3eb9769cae1f00e714a93528b33ca651d9c 100644 (file)
@@ -1,4 +1,5 @@
 #include "cache.h"
+#include "config.h"
 #include "commit.h"
 #include "refs.h"
 #include "builtin.h"
@@ -437,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);