Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'nd/upload-pack-shallow'
[gitweb.git]
/
builtin
/
show-branch.c
diff --git
a/builtin/show-branch.c
b/builtin/show-branch.c
index d9217ce1e1a957462284224c08786db77f5a8f15..d87317290c0bbfffb7ac66fb7cff5c608f092d93 100644
(file)
--- a/
builtin/show-branch.c
+++ b/
builtin/show-branch.c
@@
-450,7
+450,7
@@
static int append_matching_ref(const char *refname, const unsigned char *sha1, i
slash--;
if (!*tail)
return 0;
- if (
fnmatch(match_ref_pattern, tail, 0
))
+ if (
wildmatch(match_ref_pattern, tail, 0, NULL
))
return 0;
if (starts_with(refname, "refs/heads/"))
return append_head_ref(refname, sha1, flag, cb_data);