From mboxrd@z Thu Jan 1 00:00:00 1970 From: Elijah Newren Subject: [PATCHv3 10/16] t6016 (rev-list-graph-simplify-history): add missing && Date: Sat, 25 Sep 2010 13:07:01 -0600 Message-ID: <1285441627-28233-11-git-send-email-newren@gmail.com> References: <1285441627-28233-1-git-send-email-newren@gmail.com> Cc: Elijah Newren To: git@vger.kernel.org X-From: git-owner@vger.kernel.org Sat Sep 25 21:06:36 2010 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Oza4t-0005Xq-Pk for gcvg-git-2@lo.gmane.org; Sat, 25 Sep 2010 21:06:32 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756672Ab0IYTFt (ORCPT ); Sat, 25 Sep 2010 15:05:49 -0400 Received: from mail-pz0-f46.google.com ([209.85.210.46]:54740 "EHLO mail-pz0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756596Ab0IYTFs (ORCPT ); Sat, 25 Sep 2010 15:05:48 -0400 Received: by mail-pz0-f46.google.com with SMTP id 34so891416pzk.19 for ; Sat, 25 Sep 2010 12:05:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references; bh=jPpML8U3EvlmzM1HExJSGwgR6ViI6O3AsWBjh+kq5gA=; b=vzZAk6gje3mXjSU/TVd/8/9IQSqFCD+aT9oxG8QidAXIGgiQcDVIkwke76q4TYgxz0 Jmc6o0artFzk2CXuSxrnwih4UKt8z+eV6fcQLLnIJGEzITqowRXRCBf7bkMhtTgYmSat 3Dk6WBBiOfDXzwnC7JOpa8VxP7cp4souangfc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=VG2gqXjo8EZA6DigPDsVCP++VmV6A5f5WxGucFehKtBMwON8gr4cX3QDAjvgOXx0y5 ZJEExYv/aNrjTkeekjz8SOD+wTkTF8EClD79FWMIZBA8rMGPG3STkaUcLjFlXaMFep3R XYJ0DtdachwmY7Mseg0xFuBE/WogkdP1sCNww= Received: by 10.114.36.2 with SMTP id j2mr4084014waj.117.1285441547942; Sat, 25 Sep 2010 12:05:47 -0700 (PDT) Received: from Miney.hsd1.nm.comcast.net. (c-76-113-57-218.hsd1.nm.comcast.net [76.113.57.218]) by mx.google.com with ESMTPS id o17sm6338669wal.21.2010.09.25.12.05.46 (version=SSLv3 cipher=RC4-MD5); Sat, 25 Sep 2010 12:05:47 -0700 (PDT) X-Mailer: git-send-email 1.7.3.95.g14291 In-Reply-To: <1285441627-28233-1-git-send-email-newren@gmail.com> Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: Also removed several repeated tag and branch deletions, since the tags and branches had already been deleted. Signed-off-by: Elijah Newren --- t/t6016-rev-list-graph-simplify-history.sh | 24 ++++++------------------ 1 files changed, 6 insertions(+), 18 deletions(-) diff --git a/t/t6016-rev-list-graph-simplify-history.sh b/t/t6016-rev-list-graph-simplify-history.sh index 27fd52b..e640c41 100755 --- a/t/t6016-rev-list-graph-simplify-history.sh +++ b/t/t6016-rev-list-graph-simplify-history.sh @@ -29,7 +29,7 @@ test_expect_success 'set up rev-list --graph test' ' # Octopus merge B and C into branch A git checkout A && git merge B C && - git tag A4 + git tag A4 && test_commit A5 bar.txt && @@ -39,7 +39,7 @@ test_expect_success 'set up rev-list --graph test' ' test_commit C4 bar.txt && git checkout A && git merge -s ours C && - git tag A6 + git tag A6 && test_commit A7 bar.txt && @@ -90,7 +90,7 @@ test_expect_success '--graph --all' ' # that undecorated merges are interesting, even with --simplify-by-decoration test_expect_success '--graph --simplify-by-decoration' ' rm -f expected && - git tag -d A4 + git tag -d A4 && echo "* $A7" >> expected && echo "* $A6" >> expected && echo "|\\ " >> expected && @@ -119,9 +119,9 @@ test_expect_success '--graph --simplify-by-decoration' ' # Get rid of all decorations on branch B, and graph with it simplified away test_expect_success '--graph --simplify-by-decoration prune branch B' ' rm -f expected && - git tag -d B2 - git tag -d B1 - git branch -d B + git tag -d B2 && + git tag -d B1 && + git branch -d B && echo "* $A7" >> expected && echo "* $A6" >> expected && echo "|\\ " >> expected && @@ -143,9 +143,6 @@ test_expect_success '--graph --simplify-by-decoration prune branch B' ' test_expect_success '--graph --full-history -- bar.txt' ' rm -f expected && - git tag -d B2 - git tag -d B1 - git branch -d B echo "* $A7" >> expected && echo "* $A6" >> expected && echo "|\\ " >> expected && @@ -163,9 +160,6 @@ test_expect_success '--graph --full-history -- bar.txt' ' test_expect_success '--graph --full-history --simplify-merges -- bar.txt' ' rm -f expected && - git tag -d B2 - git tag -d B1 - git branch -d B echo "* $A7" >> expected && echo "* $A6" >> expected && echo "|\\ " >> expected && @@ -181,9 +175,6 @@ test_expect_success '--graph --full-history --simplify-merges -- bar.txt' ' test_expect_success '--graph -- bar.txt' ' rm -f expected && - git tag -d B2 - git tag -d B1 - git branch -d B echo "* $A7" >> expected && echo "* $A5" >> expected && echo "* $A3" >> expected && @@ -196,9 +187,6 @@ test_expect_success '--graph -- bar.txt' ' test_expect_success '--graph --sparse -- bar.txt' ' rm -f expected && - git tag -d B2 - git tag -d B1 - git branch -d B echo "* $A7" >> expected && echo "* $A6" >> expected && echo "* $A5" >> expected && -- 1.7.3.95.g14291