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)
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

1  2 
read-cache.c
diff --cc read-cache.c
Simple merge