t5510: prepare test refs more straightforwardly
commitd0d06e892a1a7bc6a1dfd76374da09f0170cae2c
authorMichael Haggerty <mhagger@alum.mit.edu>
Wed, 23 Oct 2013 15:50:35 +0000 (23 17:50 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 24 Oct 2013 20:27:45 +0000 (24 13:27 -0700)
treee487dc3fe685d0852e712ef8c8805339442109a1
parent2004658b19bf781d446e14e3237f519e80ab0297
t5510: prepare test refs more straightforwardly

"git fetch" was being used with contrived refspecs to create tags and
remote-tracking branches in test repositories in preparation for the
actual tests.  This is obscure and also makes one wonder whether this
is indeed just preparation or whether some side-effect of "git fetch"
is being tested.

So use the more straightforward commands "git tag" / "git update-ref"
when preparing branches in test repositories.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5510-fetch.sh