author | Simon Hausmann <hausmann@kde.org> | |
Wed, 31 Jan 2007 21:38:07 +0000 (22:38 +0100) | ||
committer | Simon Hausmann <hausmann@kde.org> | |
Wed, 31 Jan 2007 21:38:07 +0000 (22:38 +0100) | ||
commit | 2385536282d809e923af3895624d8c66b01ec433 | |
tree | 700ee2cb14b51c4652ddb0ae3f8e7b8321dfb738 | tree | snapshot |
parent | 0dd0b9d01116d57c612a5fa90de803bdd836ce11 | commit | diff |
Avoid calling fstat for every imported file (slow!) and instead read the file data first into the python process and use the length of the bytes read for the size field of git fast-import.
Signed-off-by: Simon Hausmann <hausmann@kde.org>
Signed-off-by: Simon Hausmann <hausmann@kde.org>
contrib/fast-import/p4-fast-export.py | diff | blob | history |