diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-05-18 14:40:11 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-05-18 14:40:11 -0700 |
commit | 14af79b93d3f8fa4aaf97a05f8a0564071c656a0 (patch) | |
tree | b01014f78672bd64b90b2c79cfc79b7acd24ee28 /dir.c | |
parent | 13af774e263341eecdd67e6ca28ecc47d7997152 (diff) | |
parent | 659488326cf6a170cd474e66f1bed6f5bc322eab (diff) | |
download | git-14af79b93d3f8fa4aaf97a05f8a0564071c656a0.tar.gz |
Merge branch 'nd/remove-unused' into HEAD
Code cleanup.
* nd/remove-unused:
wrapper.c: delete dead function git_mkstemps()
dir.c: remove dead function fnmatch_icase()
Diffstat (limited to 'dir.c')
-rw-r--r-- | dir.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -64,13 +64,6 @@ int strncmp_icase(const char *a, const char *b, size_t count) return ignore_case ? strncasecmp(a, b, count) : strncmp(a, b, count); } -int fnmatch_icase(const char *pattern, const char *string, int flags) -{ - return wildmatch(pattern, string, - flags | (ignore_case ? WM_CASEFOLD : 0), - NULL); -} - int git_fnmatch(const struct pathspec_item *item, const char *pattern, const char *string, int prefix) |