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]
/
revision.c
diff --git
a/revision.c
b/revision.c
index a0df72f32c100a68e5d99b5b00e597d43f3802a5..6addff1b5fcbfbffe6e30b9f72eea75d8bf755bc 100644
(file)
--- a/
revision.c
+++ b/
revision.c
@@
-1191,7
+1191,7
@@
int ref_excluded(struct string_list *ref_excludes, const char *path)
if (!ref_excludes)
return 0;
for_each_string_list_item(item, ref_excludes) {
- if (!
fnmatch(item->string, path, 0
))
+ if (!
wildmatch(item->string, path, 0, NULL
))
return 1;
}
return 0;