]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/multi-pack-index.c: make '--progress' a common option
authorTaylor Blau <me@ttaylorr.com>
Sat, 6 Dec 2025 20:31:07 +0000 (15:31 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sat, 6 Dec 2025 22:38:05 +0000 (07:38 +0900)
commit13980c822518a55e2afbdfe01dfc8849531442bb
tree1f2235f796d21c8826e0d5290c642feb69c04b74
parentfcf3d688d20804dbf5be2eea6210101fd6092b12
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