Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
show-ref: make --head always show the HEAD ref
[gitweb.git]
/
dir.c
diff --git
a/dir.c
b/dir.c
index cf1e6b0082381670809a4293c4a49cfef681d756..57394e452eb0de117b27f64804e529b617a6c7e0 100644
(file)
--- a/
dir.c
+++ b/
dir.c
@@
-685,7
+685,8
@@
int match_pathname(const char *pathname, int pathlen,
}
return wildmatch(pattern, name,
- ignore_case ? FNM_CASEFOLD : 0) == 0;
+ WM_PATHNAME | (ignore_case ? WM_CASEFOLD : 0),
+ NULL) == 0;
}
/*