]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/multi-pack-index.c: make '--progress' a common option
authorTaylor Blau <me@ttaylorr.com>
Wed, 14 Jan 2026 19:54:27 +0000 (14:54 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Jan 2026 20:52:55 +0000 (12:52 -0800)
commit396afe7e0a33d62ddcdc88fda4fc90ad2bec3420
tree65c5c4787e85f12ca83dcc11f68f105a4ac6fa7e
parent14453bfb6661e3d1fdb8ef66cd5e0d80387058cb
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