Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-06-14 02:52:12 +0400
committerRussell Belfer <rb@github.com>2013-06-17 21:03:49 +0400
commit6ea999bb88e1c5d0be17d823c23728d11adfed47 (patch)
tree84101d2fd2182f6f7294d248ec017c1dd20e84b6 /tests-clar/diff
parent1540b19990fa5c566d607785c7b3651756e706ff (diff)
Make index_insert keep existing case
In a case insensitive index, if you attempt to add a file from disk with a different case pattern, the old case pattern in the index should be preserved. This fixes that (and a couple of minor warnings).
Diffstat (limited to 'tests-clar/diff')
-rw-r--r--tests-clar/diff/rename.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests-clar/diff/rename.c b/tests-clar/diff/rename.c
index 6227a54e8..c4b722314 100644
--- a/tests-clar/diff/rename.c
+++ b/tests-clar/diff/rename.c
@@ -911,7 +911,6 @@ void test_diff_rename__case_changes_are_split(void)
{
git_index *index;
git_tree *tree;
- git_diff_options opts = GIT_DIFF_OPTIONS_INIT;
git_diff_list *diff = NULL;
diff_expects exp;