Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
stop using fnmatch (either native or compat)
[gitweb.git]
/
diffcore-order.c
diff --git
a/diffcore-order.c
b/diffcore-order.c
index fe7f1f4647a16a5882cc4c1e63738c7faa4bc677..53ea4d14c2e3a79f05d4c77895e4e60b507f5820 100644
(file)
--- a/
diffcore-order.c
+++ b/
diffcore-order.c
@@
-73,7
+73,7
@@
static int match_order(const char *path)
strbuf_addstr(&p, path);
while (p.buf[0]) {
char *cp;
- if (!
fnmatch(order[i], p.buf, 0
))
+ if (!
wildmatch(order[i], p.buf, 0, NULL
))
return i;
cp = strrchr(p.buf, '/');
if (!cp)