Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
create_directories(): remove some memcpy() and strchr() calls
author
Kjetil Barvik
<barvik@broadpark.no>
Mon, 9 Feb 2009 20:54:08 +0000
(21:54 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 10 Feb 2009 04:59:26 +0000
(20:59 -0800)
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>
raw
|
patch
| inline |
side by side
(from:
81a9aa6
)
No differences found