On Tue, Sep 03, 2024 at 02:00:16AM -0700, karthik nayak wrote: > Patrick Steinhardt <ps@xxxxxx> writes: > > > The `--auto` flag for git-pack-refs(1) allows the ref backend to decide > > whether or not a repack is in order. This switch has been introduced > > mostly with the "reftable" backend in mind, which already knows to > > auto-compact its tables during normal operations. When the flag is set, > > then it will use the same auto-compaction mechanism and thus end up > > doing nothing in most cases. > > > > The "files" backend does not have any such heuristic yet and instead > > Nit: s/instead/will instead/ > > > packs any loose references unconditionally. So we rewrite the complete > > "packed-refs" file even if there's only a single loose reference to be > > packed. Revisiting this: isn't the current version of this sentence correct? Replacing it with "will instead" certainly makes it incorrect without also changing "packs" to "pack". Patrick