diff options
author | Russell Belfer <rb@github.com> | 2013-06-13 15:37:06 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-06-17 10:03:49 -0700 |
commit | 351888cf3dc3c3525faccb010adcf5c130ac5b16 (patch) | |
tree | 7501c0a9fb6889c50ccacbb79c6ec977dcfbc242 /src/diff.h | |
parent | a3e8dbb40b87f66e1f5f4d1730f9989805822db0 (diff) | |
download | libgit2-351888cf3dc3c3525faccb010adcf5c130ac5b16.tar.gz |
Improve case handling in git_diff__paired_foreach
This commit reinstates some changes to git_diff__paired_foreach
that were discarded during the rebase (because the diff_output.c
file had gone away), and also adjusts the case insensitively
logic slightly to hopefully deal with either mismatched icase
diffs and other case insensitivity scenarios.
Diffstat (limited to 'src/diff.h')
-rw-r--r-- | src/diff.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/diff.h b/src/diff.h index ad12e7731..1536f79d7 100644 --- a/src/diff.h +++ b/src/diff.h @@ -74,6 +74,7 @@ extern void git_diff__cleanup_modes( extern void git_diff_list_addref(git_diff_list *diff); extern int git_diff_delta__cmp(const void *a, const void *b); +extern int git_diff_delta__casecmp(const void *a, const void *b); extern bool git_diff_delta__should_skip( const git_diff_options *opts, const git_diff_delta *delta); |