]> arthur.barton.de Git - bup.git/commit
git: remove all_packdirs()
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 30 Dec 2020 22:00:31 +0000 (23:00 +0100)
committerRob Browning <rlb@defaultvalue.org>
Sun, 18 Apr 2021 18:02:25 +0000 (13:02 -0500)
commit6819a53d7c033b5b4e6b6efb87a4f9d4023be7a2
treea00f7c1c00774cafa8087f2f7501466d7a0703d0
parent60f917de0d19342bd3eaea7aaf82a96f0f372d48
git: remove all_packdirs()

This really never made sense - if you have a local repository
and want to run midx/bloom on it, then it doesn't make sense
to touch the index caches for other remote repositories.

And if you want to operate manually on the cache for some odd
reason (it's maintained automatically) then you anyway need to
(and should) pass the --dir option for it explicitly.

Remove this to make things easier to reason about.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
[rlb@defaultvalue.org: previous behavior also didn't respect the
 documentation in bup-bloom(1).]
lib/bup/cmd/bloom.py
lib/bup/cmd/midx.py
lib/bup/git.py