t1507: Test that branchname@{upstream} is interpreted as branch
commit617cf93182279eec554dda03f44ac6a250e183aa
authorKacper Kornet <draenog@pld-linux.org>
Sun, 17 Mar 2013 22:17:09 +0000 (17 23:17 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sun, 17 Mar 2013 22:38:23 +0000 (17 15:38 -0700)
treee4509c103138f43053baec48ffde49d6831a293f
parent47e329ef7c46de8ccdc8c4e40333579264a83c21
t1507: Test that branchname@{upstream} is interpreted as branch

Syntax branchname@{upstream} should interpret its argument as a name of
a branch. Add the test to check that it doesn't try to interpret it as a
refname if the branch in question does not exist.

Signed-off-by: Kacper Kornet <draenog@pld-linux.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1507-rev-parse-upstream.sh