From 4df6ddaa1ac35e4f76eb2362723183b9efc96729 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Thu, 31 Mar 2016 15:05:34 -0400 Subject: [PATCH] iterator: use correct search function --- src/iterator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iterator.c b/src/iterator.c index 4202e00cd..3cefe9113 100644 --- a/src/iterator.c +++ b/src/iterator.c @@ -34,7 +34,7 @@ static void iterator_set_ignore_case(git_iterator *iter, bool ignore_case) iter->strcomp = ignore_case ? git__strcasecmp : git__strcmp; iter->strncomp = ignore_case ? git__strncasecmp : git__strncmp; iter->prefixcomp = ignore_case ? git__prefixcmp_icase : git__prefixcmp; - iter->entry_srch = ignore_case ? git_index_entry_srch : git_index_entry_isrch; + iter->entry_srch = ignore_case ? git_index_entry_isrch : git_index_entry_srch; git_vector_set_cmp(&iter->pathlist, (git_vector_cmp)iter->strcomp); } -- 2.39.5