diff options
author | Russell Belfer <rb@github.com> | 2013-01-10 04:07:54 +0400 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-01-15 21:51:35 +0400 |
commit | 25423d03b826f9647e72a56b14e08967d92ae479 (patch) | |
tree | 49b53c1c5ca7ac1f262eb3e1b5a6b3ceaf0b1692 /src/iterator.h | |
parent | 98527b5b241ce9d240537f60e87aa9dd084c0f36 (diff) |
Support case insensitive tree iterators and status
This makes tree iterators directly support case insensitivity by
using a secondary index that can be sorted by icase. Also, this
fixes the ambiguity check in the git_status_file API to also be
case insensitive. Lastly, this adds new test cases for case
insensitive range boundary checking for all types of iterators.
With this change, it should be possible to deprecate the spool
and sort iterator, but I haven't done that yet.
Diffstat (limited to 'src/iterator.h')
-rw-r--r-- | src/iterator.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/iterator.h b/src/iterator.h index 67e8a42dd..a9bccfca8 100644 --- a/src/iterator.h +++ b/src/iterator.h @@ -47,6 +47,7 @@ struct git_iterator { git_repository *repo; char *start; char *end; + int (*prefixcomp)(const char *str, const char *prefix); unsigned int flags; }; |