Replace strlen() with ce_namelen()
authorThomas Gummerer <t.gummerer@gmail.com>
Fri, 6 Jul 2012 16:07:30 +0000 (18:07 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Jul 2012 02:49:34 +0000 (19:49 -0700)
commit68c4f6a57759233ef4586f27d424721c6c1c0ea7
treea746d0dfbae4352f1351e2ce2e4d1b255b9e519d
parent8228a23b35f6bd34a87d4d839d06e7c18ae9e750
Replace strlen() with ce_namelen()

Replace strlen(ce->name) with ce_namelen() in a couple
of places which gives us some additional bits of
performance.

Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
read-cache.c
unpack-trees.c