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

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