diff options
author | Russell Belfer <rb@github.com> | 2013-09-30 16:58:33 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-10-03 10:44:13 -0700 |
commit | 2fe54afa2a8f87d03d2d550dcde7718f27e40967 (patch) | |
tree | 262b9bcbe9ccf920f84ee1e7aa8d51d352850ead /src/iterator.h | |
parent | 6b7991e264b2fb0448e3dc47f972bafabf38c1fa (diff) | |
download | libgit2-2fe54afa2a8f87d03d2d550dcde7718f27e40967.tar.gz |
Put hooks in place for precompose in dirload fn
This doesn't actual do string precompose but it puts the hooks in
place into the iterators and the git_path_dirload function so that
the actual precompose work is ready to go.
Diffstat (limited to 'src/iterator.h')
-rw-r--r-- | src/iterator.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/iterator.h b/src/iterator.h index ea88fa6a2..751e139d0 100644 --- a/src/iterator.h +++ b/src/iterator.h @@ -24,13 +24,15 @@ typedef enum { typedef enum { /** ignore case for entry sort order */ - GIT_ITERATOR_IGNORE_CASE = (1 << 0), + GIT_ITERATOR_IGNORE_CASE = (1u << 0), /** force case sensitivity for entry sort order */ - GIT_ITERATOR_DONT_IGNORE_CASE = (1 << 1), + GIT_ITERATOR_DONT_IGNORE_CASE = (1u << 1), /** return tree items in addition to blob items */ - GIT_ITERATOR_INCLUDE_TREES = (1 << 2), + GIT_ITERATOR_INCLUDE_TREES = (1u << 2), /** don't flatten trees, requiring advance_into (implies INCLUDE_TREES) */ - GIT_ITERATOR_DONT_AUTOEXPAND = (1 << 3), + GIT_ITERATOR_DONT_AUTOEXPAND = (1u << 3), + /** convert precomposed unicode to decomposed unicode */ + GIT_ITERATOR_PRECOMPOSE_UNICODE = (1u << 4), } git_iterator_flag_t; typedef struct { |