Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
strbuf: add strbuf_tolower function
[gitweb.git]
/
diffcore-order.c
diff --git
a/diffcore-order.c
b/diffcore-order.c
index 1bfcc39f904898b488b5ea0dad1ef3bcb81466ce..97dd3d0095723c194288db0da1b9cfbf400e7e26 100644
(file)
--- a/
diffcore-order.c
+++ b/
diffcore-order.c
@@
-67,7
+67,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)