From: Michael J Gruber Date: Tue, 22 Feb 2011 13:36:19 GMT Subject: [PATCH (n+1)/n] t6007: test rev-list --cherry Message-ID: <679a1a3a57bd6b5f4138a1e0500ec8f97f224578.1298381698.git.git@drmicha.warpmail.net> In-Reply-To: <7vlj18g92x.fsf@alter.siamese.dyndns.org> Signed-off-by: Michael J Gruber --- t/t6007-rev-list-cherry-pick-file.sh | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/t/t6007-rev-list-cherry-pick-file.sh b/t/t6007-rev-list-cherry-pick-file.sh index cd089a9..5373541 100755 --- a/t/t6007-rev-list-cherry-pick-file.sh +++ b/t/t6007-rev-list-cherry-pick-file.sh @@ -110,6 +110,13 @@ test_expect_success '--cherry-pick --right-only' ' test_cmp actual.named expect ' +test_expect_success '--cherry' ' + git rev-list --cherry F...E -- bar > actual && + git name-rev --stdin --name-only --refs="*tags/*" \ + < actual > actual.named && + test_cmp actual.named expect +' + test_expect_success '--cherry-pick --left-only' ' git rev-list --cherry-pick --left-only E...F -- bar > actual && git name-rev --stdin --name-only --refs="*tags/*" \ -- 1.7.4.1.74.gf39475.dirty