diff options
| author | Kjetil Barvik <barvik@broadpark.no> | 2009-02-09 21:54:08 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2009-02-09 20:59:26 -0800 |
| commit | 81a9aa60a193f1181149b69920930e15c4e34059 (patch) | |
| tree | 83183cf31fd679bb13635ea056260d79c99edf12 /combine-diff.c | |
| parent | unlink_entry(): introduce schedule_dir_for_removal() (diff) | |
| download | git-81a9aa60a193f1181149b69920930e15c4e34059.tar.gz git-81a9aa60a193f1181149b69920930e15c4e34059.zip | |
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>
Diffstat (limited to 'combine-diff.c')
0 files changed, 0 insertions, 0 deletions
