diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2012-10-15 13:25:58 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-10-15 14:58:18 -0700 |
commit | 9b4edc0a49abd4b5c6505c63c8fa40d527df6ae8 (patch) | |
tree | b802eaecbd4e85aaddffa27435ba292f7c4a904c /wildmatch.h | |
parent | 3ae5396cf719000039c5d0d35f9bf934f647b030 (diff) | |
download | git-9b4edc0a49abd4b5c6505c63c8fa40d527df6ae8.tar.gz |
wildmatch: remove static variable force_lower_case
One place less to worry about thread safety. Also combine wildmatch
and iwildmatch into one.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'wildmatch.h')
-rw-r--r-- | wildmatch.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/wildmatch.h b/wildmatch.h index 562faa35a5..e974f9abce 100644 --- a/wildmatch.h +++ b/wildmatch.h @@ -1,4 +1,3 @@ /* wildmatch.h */ -int wildmatch(const char *pattern, const char *text); -int iwildmatch(const char *pattern, const char *text); +int wildmatch(const char *pattern, const char *text, int flags); |