From: Michael J Gruber Date: Mon, 7 Mar 2011 12:31:43 +0000 (+0100) Subject: t6007: test rev-list --cherry X-Git-Tag: v1.7.5-rc0~36^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/fe3b59e595b02ee57314b74a74df915bdd845011?ds=inline;hp=--cc t6007: test rev-list --cherry Signed-off-by: Michael J Gruber Signed-off-by: Junio C Hamano --- fe3b59e595b02ee57314b74a74df915bdd845011 diff --git a/t/t6007-rev-list-cherry-pick-file.sh b/t/t6007-rev-list-cherry-pick-file.sh index 37bd25eaaa..cacf3de6c9 100755 --- a/t/t6007-rev-list-cherry-pick-file.sh +++ b/t/t6007-rev-list-cherry-pick-file.sh @@ -145,6 +145,18 @@ test_expect_success '--cherry-pick --left-only' ' test_cmp actual.named expect ' +cat >expect < actual && + git name-rev --stdin --name-only --refs="*tags/*" \ + < actual > actual.named && + test_cmp actual.named expect +' + test_expect_success '--cherry-pick with independent, but identical branches' ' git symbolic-ref HEAD refs/heads/independent && rm .git/index &&