silence git gc --auto --quiet output
When --quiet is requested, gc --auto should not display messages unless there is an error. Signed-off-by: Tobias Ulmer <tobiasu@tmux.org> Acked-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
b5d156c362
commit
df995c7dd2
@ -174,8 +174,7 @@ test_expect_success 'receive-pack runs auto-gc in remote repo' '
|
||||
cd parent &&
|
||||
echo "Even more text" >>file.txt &&
|
||||
git commit -a -m "Third commit" &&
|
||||
git send-pack ../child HEAD:refs/heads/test_auto_gc >output 2>&1 &&
|
||||
grep "Auto packing the repository for optimum performance." output
|
||||
git send-pack ../child HEAD:refs/heads/test_auto_gc
|
||||
) &&
|
||||
test ! -e child/.git/objects/tmp_test_object
|
||||
'
|
||||
|
Reference in New Issue
Block a user