Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
parse-options: multi-word argh should use dash to separate words
[gitweb.git]
/
revision.c
diff --git
a/revision.c
b/revision.c
index bd027bc0152a59ac0c4584ab752ff70bee5abbfa..78b5c3ac0b2d7d436b35a69a3cf6c1b023c96dd5 100644
(file)
--- a/
revision.c
+++ b/
revision.c
@@
-1186,7
+1186,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;