Merge branch 'tg/maint-cache-name-compare'
authorJunio C Hamano <gitster@pobox.com>
Mon, 16 Jul 2012 04:40:17 +0000 (21:40 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 16 Jul 2012 04:40:18 +0000 (21:40 -0700)
commit8fc824f397b2d10a2643a6177ff03c56b1017673
tree398465ee583ffbebf2e68c805a7bb1de8a179b1f
parent37b92a9a2eb1d49409a0b4d16404a3ac265ca723
parentd5f53338ab2ee29c588f46d5cb28d7e3b25018f2
Merge branch 'tg/maint-cache-name-compare'

Even though the index can record pathnames longer than 1<<12 bytes,
in some places we were not comparing them in full, potentially
replacing index entries instead of adding.

* tg/maint-cache-name-compare:
  cache_name_compare(): do not truncate while comparing paths
read-cache.c