Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
commit: advertise config --global --edit on guessed identity
[gitweb.git]
/
builtin
/
for-each-ref.c
diff --git
a/builtin/for-each-ref.c
b/builtin/for-each-ref.c
index 51798b48b54266fccd2f7b4687646d152ab70588..3e1d5c3334e50035fdbf835cfdafbb39c0bacfd0 100644
(file)
--- a/
builtin/for-each-ref.c
+++ b/
builtin/for-each-ref.c
@@
-864,7
+864,7
@@
static int grab_single_ref(const char *refname, const unsigned char *sha1, int f
refname[plen] == '/' ||
p[plen-1] == '/'))
break;
- if (!
fnmatch(p, refname, FNM_PATHNAME
))
+ if (!
wildmatch(p, refname, WM_PATHNAME, NULL
))
break;
}
if (!*pattern)