]> git.ipfire.org Git - thirdparty/git.git/commit - t/t3200-branch.sh
t3200.39: tracking setup should fail if there is no matching refspec.
authorJohan Herland <johan@herland.net>
Sun, 21 Apr 2013 21:52:02 +0000 (23:52 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 21 Apr 2013 22:14:41 +0000 (15:14 -0700)
commit9c9cd39a0c9bc1f14e9dfc29ad98475794dda6b8
treeb951fb0e43c1034668f8295f7312e0f4a0e12fdb
parentfa83a33b22283e465aafdacc53ad0fddea55bdf4
t3200.39: tracking setup should fail if there is no matching refspec.

We are formalizing a requirement that any remote-tracking branch to be used
as an upstream (i.e. as an argument to --track), _must_ "belong" to a
configured remote by being matched by the "dst" side of a fetch refspec.

This patch encodes the new expected behavior of this test, and marks the
test with "test_expect_failure" in anticipation of a following patch to
introduce the new behavior.

Signed-off-by: Johan Herland <johan@herland.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3200-branch.sh