diff options
| author | Scott J. Goldman <scottjg@github.com> | 2012-11-15 23:28:52 -0800 |
|---|---|---|
| committer | Scott J. Goldman <scottjg@github.com> | 2012-11-15 23:28:52 -0800 |
| commit | 0cd063fd87eab711e1bbc8f65ec32a66fb6a5147 (patch) | |
| tree | 78316e7028dd8be02de759b61cdf769f778e0800 /src/pathspec.c | |
| parent | 96acc0b615cf7decd807a6f5741d25bd87ffd751 (diff) | |
| parent | 402b92cfe98882693a062bd94305383c55777619 (diff) | |
| download | libgit2-0cd063fd87eab711e1bbc8f65ec32a66fb6a5147.tar.gz | |
Merge pull request #1071 from arrbee/alternate-fix-strcmp
Win32 fixes for diff/checkout/reset
Diffstat (limited to 'src/pathspec.c')
| -rw-r--r-- | src/pathspec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/pathspec.c b/src/pathspec.c index 9632f5f13..fc6547afe 100644 --- a/src/pathspec.c +++ b/src/pathspec.c @@ -122,11 +122,11 @@ bool git_pathspec_match_path( fnmatch_flags = FNM_CASEFOLD; if (casefold) { - use_strcmp = strcasecmp; - use_strncmp = strncasecmp; + use_strcmp = git__strcasecmp; + use_strncmp = git__strncasecmp; } else { - use_strcmp = strcmp; - use_strncmp = strncmp; + use_strcmp = git__strcmp; + use_strncmp = git__strncmp; } git_vector_foreach(vspec, i, match) { |
