]> arthur.barton.de Git - bup.git/commit
git: split out idx file writing to a separate class
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 3 Jan 2020 12:53:20 +0000 (13:53 +0100)
committerRob Browning <rlb@defaultvalue.org>
Sun, 19 Apr 2020 20:52:26 +0000 (15:52 -0500)
commitbbeea3a3f5408d8752fa38a0da9d0de6d6aa30d8
treedf5d40ba9419f86fe42684c5fe1524ad10d74173
parent011279773c8cf85c737b55b1314da5c7dee75970
git: split out idx file writing to a separate class

Split the idx file writing into a separate class, to make that
kind of action available separately. This will be useful for the
next patch where we use it to test some idx/midx code.

In the future, it'll also be useful for encrypted repositories
since the idx format there will be useful for local caching to
take advantage of midx and bloom code as is, but the packwriter
will of course not be useful.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
lib/bup/git.py
lib/bup/t/tgit.py