Code

create_directories(): remove some memcpy() and strchr() calls
authorKjetil Barvik <barvik@broadpark.no>
Mon, 9 Feb 2009 20:54:08 +0000 (21:54 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 10 Feb 2009 04:59:26 +0000 (20:59 -0800)
commit81a9aa60a193f1181149b69920930e15c4e34059
tree83183cf31fd679bb13635ea056260d79c99edf12
parent7847892716a3c9a7b8facc076fc056ac425bcfe6
create_directories(): remove some memcpy() and strchr() calls

Remove the call to memcpy() and strchr() for each path component
tested, and instead add each path component as we go forward inside
the while-loop.

Impact: small optimisation

Signed-off-by: Kjetil Barvik <barvik@broadpark.no>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
entry.c