[PATCH 0/5] gc: minor code cleanup + contention fixes
- From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
- Date
- Mar 13, 2019, 23:54 UTC
- Message-ID
- <20190313235439.30439-1-avarab@gmail.com>
- In-Reply-To
- <87imwmbv7l.fsf@evledraar.gmail.com>
[45]/5 fix a couple of issues I noted upthread. While I was at it I noticed a few things I could clean up in [123]/5 that I figured I'd send alongside this.
Ævar Arnfjörð Bjarmason (5): gc: remove redundant check for gc_auto_threshold gc: convert to using the_hash_algo gc: refactor a "call me once" pattern gc: don't run "reflog expire" when keeping reflogs reflog expire: don't assert the OID when locking refs
builtin/gc.c | 33 +++++++++++++++++++++++++-------- refs/files-backend.c | 2 +- t/t6500-gc.sh | 19 +++++++++++++++++++ 3 files changed, 45 insertions(+), 9 deletions(-)
-- 2.21.0.360.g471c308f928