]> arthur.barton.de Git - bup.git/commit
Retrieve the dates for all branches with one bulk git call in the VFS.
authorRob Browning <rlb@defaultvalue.org>
Thu, 8 May 2014 19:01:57 +0000 (14:01 -0500)
committerRob Browning <rlb@defaultvalue.org>
Thu, 8 May 2014 19:01:57 +0000 (14:01 -0500)
commit00ba9fb811e71bb6182b9379461bc6b493e3b7a4
tree14dcda07b8c3a2a67d401789e87214572021e62f
parentb81d49d349c279399f81a02448b2185b6a1cbcd9
Retrieve the dates for all branches with one bulk git call in the VFS.

Instead of calling "git rev-list" once per branch to get the branch
tip dates for the VFS branch list, make a single call to "git show"
using a suitable pretty format, and pass all the branch refs as
arguments.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/git.py
lib/bup/vfs.py