]> git.ipfire.org Git - thirdparty/git.git/commit
auto-gc: pass --quiet down from am, commit, merge and rebase
authorJunio C Hamano <gitster@pobox.com>
Wed, 6 May 2020 20:18:30 +0000 (13:18 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 7 May 2020 19:24:35 +0000 (12:24 -0700)
commit7c3e9e8cfbf6a8e45f4745049dc58f5c9e9d1eb9
tree7ef59d5576f2e737e04a951af58ab06545a83cb3
parent850b6edefa7a4fcc75149447cb8a984f804dd080
auto-gc: pass --quiet down from am, commit, merge and rebase

These commands take the --quiet option for their own operation, but
they forget to pass the option down when they invoke "git gc --auto"
internally.

Teach them to do so using the run_auto_gc() helper we added in the
previous step.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Reviewed-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/am.c
builtin/commit.c
builtin/merge.c
builtin/rebase.c