prune: allow --repack-smaller-than independently of --repack-small

This commit is contained in:
Michael Eischer
2025-03-22 15:08:36 +01:00
parent 3f42c0ad96
commit 3e58b15ace
3 changed files with 4 additions and 11 deletions

View File

@@ -466,10 +466,9 @@ The ``prune`` command accepts the following options:
- ``--repack-small`` if set will repack pack files below 80% of target pack size.
The default value is false.
- ``--repack-smaller-than`` in conjunction with ``--repack-small`` will repack all
packfiles below the size of ``--repack-smaller-than``. This will allow to repack
packfiles which initially came from a repository with a smaller ``--pack-size``
to be compacted into larger packfiles.
- ``--repack-smaller-than`` will repack all packfiles below the size of
``--repack-smaller-than``. This allows repacking packfiles that initially came from a
repository with a smaller ``--pack-size`` to be compacted into larger packfiles.
- ``--dry-run`` only show what ``prune`` would do.