Merge branch 'tg/maint-cache-name-compare' into maint
authorJunio C Hamano <gitster@pobox.com>
Sun, 22 Jul 2012 20:01:56 +0000 (13:01 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 22 Jul 2012 20:01:56 +0000 (13:01 -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