This significantly improves performance, especially for a Git repository stored on a network filesystem with many loose objects, by launching fewer copies of git and hence reading the repository fewer times.
GitCore: Abstract out __pipe
Signed-off-by: Anders Kaseorg <firstname.lastname@example.org>
Use git cat-file --batch, to avoid repeated fork+exec
last_change: Use git log --name-status to avoid repeated fork+exec
Good work, thanks!
@andersk Could you maybe take a look at http://trac-hacks.org/ticket/9560 this commit seems to have broken Python 2.5 support