From 3b4c401a38ce912d5be8c9bf4ab1c4912a4f08bd Mon Sep 17 00:00:00 2001 From: Russell Belfer Date: Mon, 10 Feb 2014 13:20:08 -0800 Subject: Decouple index iterator sort from index This makes the index iterator honor the GIT_ITERATOR_IGNORE_CASE and GIT_ITERATOR_DONT_IGNORE_CASE flags without modifying the index data itself. To take advantage of this, I had to export a number of the internal index entry comparison functions. I also wrote some new tests to exercise the capability. --- src/util.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/util.h') diff --git a/src/util.h b/src/util.h index 5c2c563d6..d94463c65 100644 --- a/src/util.h +++ b/src/util.h @@ -196,6 +196,7 @@ extern int git__bsearch_r( size_t *position); extern int git__strcmp_cb(const void *a, const void *b); +extern int git__strcasecmp_cb(const void *a, const void *b); extern int git__strcmp(const char *a, const char *b); extern int git__strcasecmp(const char *a, const char *b); -- cgit v1.2.3