Merge branch 'maint'

* maint:
  t1507: Test that branchname@{upstream} is interpreted as branch
This commit is contained in:
Junio C Hamano 2013-03-17 15:39:43 -07:00
commit 1c71541ddd

View File

@ -54,6 +54,10 @@ test_expect_success 'my-side@{upstream} resolves to correct full name' '
test refs/remotes/origin/side = "$(full_name my-side@{u})"
'
test_expect_success 'refs/heads/my-side@{upstream} does not resolve to my-side{upstream}' '
test_must_fail full_name refs/heads/my-side@{upstream}
'
test_expect_success 'my-side@{u} resolves to correct commit' '
git checkout side &&
test_commit 5 &&