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