From 25423d03b826f9647e72a56b14e08967d92ae479 Mon Sep 17 00:00:00 2001 From: Russell Belfer Date: Wed, 9 Jan 2013 16:07:54 -0800 Subject: 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. --- src/iterator.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/iterator.h') 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; }; -- cgit v1.2.3