mbox series

[0/2] builtin/repack: fix `--keep-unreachable` when there are no packs

Message ID 20250203-b4-pks-repack-unreachable-objects-wo-packfiles-v1-0-7c4d69c5072c@pks.im (mailing list archive)
Headers show
Series builtin/repack: fix `--keep-unreachable` when there are no packs | expand

Message

Patrick Steinhardt Feb. 3, 2025, 1:06 p.m. UTC
Hi,

this small patch series fixes `git repack -ad --keep-unreachable` when
there aren't any preexisting packfiles.

Thanks!

Patrick

---
Patrick Steinhardt (2):
      t7700: add tests for `--keep-unreachable`
      builtin/repack: fix `--keep-unreachable` when there are no packs

 builtin/repack.c  |  5 +++-
 t/t7700-repack.sh | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 77 insertions(+), 1 deletion(-)


---
base-commit: 3b0d05c4a79d0e441283680a864529b02dca5f08
change-id: 20250203-b4-pks-repack-unreachable-objects-wo-packfiles-33c26066e5c3