diff options
| author | René Scharfe <l.s.r@web.de> | 2021-01-07 16:32:10 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2021-01-15 23:05:13 -0800 |
| commit | 0b72536a0b6128d2bfd05d633cd2228d7515b53d (patch) | |
| tree | f55cd47b6c05eb9650b80bb08463eb563b1c3d7d /builtin/diff.c | |
| parent | 4bdde337f40c089fea8e076eb00132fc093ca79e (diff) | |
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 <l.s.r@web.de>
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/diff.c')
0 files changed, 0 insertions, 0 deletions
