Read several objects at once with git cat-file --batch
authorKarl Wiberg <kha@treskal.com>
Tue, 5 Oct 2010 09:48:28 +0000 (11:48 +0200)
committerKarl Wiberg <kha@treskal.com>
Tue, 5 Oct 2010 09:48:28 +0000 (11:48 +0200)
commitf0b6dda7e20f9ea0d6cf9719bcea3cbc12281a2d
tree45acc0657e0c798e4f00bf0065400c30359a64ef
parent968057216369b64c22f837a42aab59cb9045d0c3
Read several objects at once with git cat-file --batch

Instead of spawning a separate cat-file process for every blob and
commit we want to read. This speeds things up slightly: about 6-8%
when uncommitting and rebasing 1470 linux-kernel patches (perftest.py
rebase-newrebase-add-file-linux).

Signed-off-by: Karl Wiberg <kha@treskal.com>
INSTALL
stgit/lib/git.py
stgit/run.py