]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'tb/repack-max-cruft-size'
authorJunio C Hamano <gitster@pobox.com>
Wed, 18 Oct 2023 20:25:41 +0000 (13:25 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Oct 2023 20:25:41 +0000 (13:25 -0700)
commit79861babe2d58387cd50010c9c63e4ef95afeb12
tree548a0fa8494729fc700300e67f027d2f998401c7
parenta9ecda2788e229afc9b611acaa26d0d9d4da53ed
parentc1b754d0597be83439ecc8de2a59a90f35cd4040
Merge branch 'tb/repack-max-cruft-size'

"git repack" learned "--max-cruft-size" to prevent cruft packs from
growing without bounds.

* tb/repack-max-cruft-size:
  repack: free existing_cruft array after use
  builtin/repack.c: avoid making cruft packs preferred
  builtin/repack.c: implement support for `--max-cruft-size`
  builtin/repack.c: parse `--max-pack-size` with OPT_MAGNITUDE
  t7700: split cruft-related tests to t7704
Documentation/config/gc.txt
Documentation/git-repack.txt
builtin/gc.c
builtin/repack.c
t/t6500-gc.sh
t/t7700-repack.sh