t5570: use explicit push refspec
commitaecff47da67af69dae4e53749277ca2728e31e36
authorClemens Buchacher <drizzd@aon.at>
Tue, 24 Apr 2012 07:50:04 +0000 (24 09:50 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 24 Apr 2012 22:22:17 +0000 (24 15:22 -0700)
tree29465c67c02072e40b1815c244b9ad7591b60248
parentb55e67752242b449a4577c05341fd6b2fea4d310
t5570: use explicit push refspec

The default mode for push without arguments will change. Some warnings
are about to be enabled for such use, which causes some t5570 tests to
fail because they do not expect this output.

Fix this by passing an explicit refspec to git push. To that end, change
the calling conventions of test_remote_error in order to accomodate
extra command arguments.

Signed-off-by: Clemens Buchacher <drizzd@aon.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5570-git-daemon.sh