summaryrefslogtreecommitdiff
path: root/t/t1007-hash-object.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2012-07-11 09:08:28 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-07-11 09:25:56 -0700
commitd5f53338ab2ee29c588f46d5cb28d7e3b25018f2 (patch)
tree8cacf7445546eac4ec9cfd6c468f03be80121527 /t/t1007-hash-object.sh
parentGit 1.7.0.9 (diff)
downloadtgif-d5f53338ab2ee29c588f46d5cb28d7e3b25018f2.tar.xz
cache_name_compare(): do not truncate while comparing paths
We failed to use ce_namelen() equivalent and instead only compared up to the CE_NAMEMASK bytes by mistake. Adding an overlong path that shares the same common prefix as an existing entry in the index did not add a new entry, but instead replaced the existing one, as the result. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t1007-hash-object.sh')
0 files changed, 0 insertions, 0 deletions