summaryrefslogtreecommitdiff
path: root/t/t5400-send-pack.sh
diff options
context:
space:
mode:
authorTobias Ulmer <tobiasu@tmux.org>2012-09-24 02:40:24 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-09-28 00:57:26 (GMT)
commitdf995c7dd21bca9c61f9e5480fdfc1a015b4f1a0 (patch)
treea470db7543f5f0e397ceac63d4cf26d7334b0079 /t/t5400-send-pack.sh
parentb5d156c3622fa522966034c78fd6ed9a15504d46 (diff)
downloadgit-df995c7dd21bca9c61f9e5480fdfc1a015b4f1a0.zip
git-df995c7dd21bca9c61f9e5480fdfc1a015b4f1a0.tar.gz
git-df995c7dd21bca9c61f9e5480fdfc1a015b4f1a0.tar.bz2
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>
Diffstat (limited to 't/t5400-send-pack.sh')
-rwxr-xr-xt/t5400-send-pack.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/t/t5400-send-pack.sh b/t/t5400-send-pack.sh
index 250c720..78ab177 100755
--- a/t/t5400-send-pack.sh
+++ b/t/t5400-send-pack.sh
@@ -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
'