summaryrefslogtreecommitdiff
path: root/src/index.h
diff options
context:
space:
mode:
authorVicent Martí <vicent@github.com>2013-03-04 16:19:38 -0800
committerVicent Martí <vicent@github.com>2013-03-04 16:19:38 -0800
commitb8daa9e0fc9669f0677105b5ecce5c67462a108e (patch)
tree9e9734e256ca95665fc0bc383586fd7bae300490 /src/index.h
parentf6d96409a84f0b4c854da830027ff26bb10e27c3 (diff)
parentcb53669e14f9a29b797d108c50d04566f82ab58f (diff)
downloadlibgit2-b8daa9e0fc9669f0677105b5ecce5c67462a108e.tar.gz
Merge pull request #1380 from phkelley/index_icase
Disable ignore_case when writing the index to a tree
Diffstat (limited to 'src/index.h')
-rw-r--r--src/index.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/index.h b/src/index.h
index 9304b5539..2beaa6375 100644
--- a/src/index.h
+++ b/src/index.h
@@ -48,6 +48,8 @@ extern size_t git_index__prefix_position(git_index *index, const char *path);
extern int git_index_entry__cmp(const void *a, const void *b);
extern int git_index_entry__cmp_icase(const void *a, const void *b);
+extern void git_index__set_ignore_case(git_index *index, bool ignore_case);
+
extern int git_index_read_tree_match(
git_index *index, git_tree *tree, git_strarray *strspec);