cache-tree: use ce_namelen() instead of strlen()
authorRené Scharfe <redacted>
Thu, 7 Jan 2021 16:32:10 +0000 (16:32 +0000)
committerJunio C Hamano <redacted>
Sat, 16 Jan 2021 07:05:13 +0000 (23:05 -0800)
commit0b72536a0b6128d2bfd05d633cd2228d7515b53d
treef55cd47b6c05eb9650b80bb08463eb563b1c3d7d
parent4bdde337f40c089fea8e076eb00132fc093ca79e
cache-tree: use ce_namelen() instead of strlen()

Use the name length field of cache entries instead of calculating its
value anew.

Signed-off-by: René Scharfe <redacted>
Signed-off-by: Derrick Stolee <redacted>
Signed-off-by: Junio C Hamano <redacted>
cache-tree.c
git clone https://git.99rst.org/PROJECT