]> git.proxmox.com Git - libgit2.git/commit
Make index_insert keep existing case
authorRussell Belfer <rb@github.com>
Thu, 13 Jun 2013 22:52:12 +0000 (15:52 -0700)
committerRussell Belfer <rb@github.com>
Mon, 17 Jun 2013 17:03:49 +0000 (10:03 -0700)
commit6ea999bb88e1c5d0be17d823c23728d11adfed47
tree84101d2fd2182f6f7294d248ec017c1dd20e84b6
parent1540b19990fa5c566d607785c7b3651756e706ff
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).
src/index.c
tests-clar/diff/rename.c