t6501: use 'git gc' in quiet mode
commitb068d9a250246896cc56b9450049b2ed6451ccbb
authorDerrick Stolee <dstolee@microsoft.com>
Tue, 13 Aug 2019 18:37:45 +0000 (13 11:37 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 13 Aug 2019 20:33:54 +0000 (13 13:33 -0700)
tree7d111b0c3c9b12080fbc41fae28919f99e20f55b
parent7211b9e7534e021d7c46117ec0c64482e7930560
t6501: use 'git gc' in quiet mode

t6501-freshen-objects.sh sends the standard error from
'git gc' to a file and verifies that it is empty. This
is intended as a way to ensure no warnings are written
during the operation. However, as the commit-graph is
added as a step to 'git gc', its progress will appear
in the output.

Pass the '-q' argument to avoid a failing test case
when progress is written.

Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t6501-freshen-objects.sh