diff options
author | Russell Belfer <rb@github.com> | 2014-02-10 13:20:08 -0800 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2014-04-17 14:43:45 -0700 |
commit | 3b4c401a38ce912d5be8c9bf4ab1c4912a4f08bd (patch) | |
tree | 4961b64fd558e1e55e9d1d96b37ca575c42ce008 /src/util.h | |
parent | dac160489bbf8de90d2f1ae152df68ded2603598 (diff) | |
download | libgit2-3b4c401a38ce912d5be8c9bf4ab1c4912a4f08bd.tar.gz |
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.
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |