Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
mergetool: run prompt only if guessed tool
[gitweb.git]
/
refs.c
diff --git
a/refs.c
b/refs.c
index f90b7eafe4f7c58502e8ad18f67cbc84c4367fe4..28d5eca8eaff7be48a4b89e6217886b8c96eb3b2 100644
(file)
--- a/
refs.c
+++ b/
refs.c
@@
-1477,7
+1477,7
@@
static int filter_refs(const char *refname, const unsigned char *sha1, int flags
void *data)
{
struct ref_filter *filter = (struct ref_filter *)data;
- if (
fnmatch(filter->pattern, refname, 0
))
+ if (
wildmatch(filter->pattern, refname, 0, NULL
))
return 0;
return filter->fn(refname, sha1, flags, filter->cb_data);
}