Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
张亚俊
libgit2
Commits
4df6ddaa
Commit
4df6ddaa
authored
9 years ago
by
Edward Thomson
Browse files
Options
Downloads
Patches
Plain Diff
iterator: use correct search function
parent
74ab5f2c
Branches
ethomson/submodule_status
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/iterator.c
+1
-1
src/iterator.c
with
1 addition
and
1 deletion
src/iterator.c
+
1
−
1
View file @
4df6ddaa
...
...
@@ -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_
i
srch
;
iter
->
entry_srch
=
ignore_case
?
git_index_entry_
i
srch
:
git_index_entry_srch
;
git_vector_set_cmp
(
&
iter
->
pathlist
,
(
git_vector_cmp
)
iter
->
strcomp
);
}
...
...
This diff is collapsed.
Click to expand it.
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets