pack-objects: fix --no-quiet
commit36f76d2a253a0346491cc127de5ca4b9f7895d60
authorRené Scharfe <l.s.r@web.de>
Fri, 21 Jul 2023 12:41:53 +0000 (21 14:41 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 21 Jul 2023 17:04:04 +0000 (21 10:04 -0700)
tree1fb98baad385b0c691a0cbb55210962c9201ccea
parent3a5f30874120880ddaa53d0db4c3b4ec0a07297a
pack-objects: fix --no-quiet

Since 99fb6e04cb (pack-objects: convert to use parse_options(),
2012-02-01) git pack-objects has accepted the option --no-quiet, but it
does the same as --quiet.  That's because it's defined using OPT_SET_INT
with a value of 0, which sets 0 when negated, too.

Make --no-quiet equivalent to --progress and ignore it if --all-progress
was given.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/pack-objects.c