Re: [PATCH 14/15] builtin/gc: forward git-gc(1)'s `--auto` flag when packing refs
- From
Karthik Nayak <karthik.188@gmail.com>
- Date
- Mar 20, 2024, 23:56 UTC
- Message-ID
- <CAOLa=ZTWvLkzdJMOS4nU=zGhmXS2nSEXzK3Wo2+=jRgV56atrA@mail.gmail.com>
- In-Reply-To
- <474cf66b26f5e459dccd60a2dcd1a09eff86178c.1710706119.git.ps@pks.im>
Patrick Steinhardt <ps@pks.im> writes:
Show 8 quoted lines
> Forward the `--auto` flag to git-pack-refs(1) when it has been invoked > with this flag itself. This does not change anything for the "files" > backend, which will continue to eagerly pack refs. But it does ensure > that the "reftable" backend only compacts refs as required. > > This change does not impact git-maintenance(1) as it won't ever end up > executing the pack-refs task when run with `--auto`. >
I'm not sure I follow this one, the man page for git-maintenance(1) doesn't mention anything about not running pack-refs when `--auto` is used.