]> Kevux Git Server - rit/commit
builtin/multi-pack-index.c: make '--progress' a common option
authorTaylor Blau <me@ttaylorr.com>
Tue, 24 Feb 2026 18:59:48 +0000 (13:59 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 24 Feb 2026 19:16:32 +0000 (11:16 -0800)
commit6b8fb17490f637f5651834596b08cdb255e9280a
tree87d0104e9c1e673b843e88b6c6fefdbf1e7f1703
parent6e86f679248580bec5c105b37217862f3022b504
builtin/multi-pack-index.c: make '--progress' a common option

All multi-pack-index sub-commands (write, verify, repack, and expire)
support a '--progress' command-line option, despite not listing it as
one of the common options in `common_opts`.

As a result each sub-command declares its own `OPT_BIT()` for a
"--progress" command-line option. Centralize this within the
`common_opts` to avoid re-declaring it in each sub-command.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-multi-pack-index.adoc
builtin/multi-pack-index.c