From: Jonathan Nieder Date: Fri, 24 Sep 2010 07:26:33 GMT Subject: [PATCH 20/24] t9300 (fast-import), series N: re-indent Message-ID: <20100924072633.GU4666@burratino> In-Reply-To: <20100924065900.GA4666@burratino> See "t9300 (fast-import), series A: re-indent". Cc: Shawn O. Pearce Signed-off-by: Jonathan Nieder --- t/t9300-fast-import.sh | 60 ++++++++++++++++++++++++------------------------ 1 files changed, 30 insertions(+), 30 deletions(-) diff --git a/t/t9300-fast-import.sh b/t/t9300-fast-import.sh index 5237afc..7bd2bd0 100755 --- a/t/t9300-fast-import.sh +++ b/t/t9300-fast-import.sh @@ -846,11 +846,11 @@ INPUT_END cat >expect <actual && - compare_diff_raw expect actual' +test_expect_success 'N: copy file in same subdirectory' ' + git fast-import actual && + compare_diff_raw expect actual +' cat >input <expect <actual && - compare_diff_raw expect actual' +test_expect_success 'N: copy then modify subdirectory' ' + git fast-import actual && + compare_diff_raw expect actual +' cat >input <expect <<-EOF && +test_expect_success 'N: copy directory by id' ' + cat >expect <<-EOF && :100755 100755 $newf $newf C100 file2/newf file3/newf :100644 100644 $oldf $oldf C100 file2/oldf file3/oldf EOF - subdir=$(git rev-parse refs/heads/branch^0:file2) && - cat >input <<-INPUT_END && + subdir=$(git rev-parse refs/heads/branch^0:file2) && + cat >input <<-INPUT_END && commit refs/heads/N4 committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE data <actual && - compare_diff_raw expect actual' + git fast-import actual && + compare_diff_raw expect actual +' -test_expect_success \ - 'N: modify copied tree' \ - 'cat >expect <<-EOF && +test_expect_success 'N: modify copied tree' ' + cat >expect <<-EOF && :100644 100644 $file5_id $file5_id C100 newdir/interesting file3/file5 :100755 100755 $newf $newf C100 file2/newf file3/newf :100644 100644 $oldf $oldf C100 file2/oldf file3/oldf EOF - subdir=$(git rev-parse refs/heads/branch^0:file2) && - cat >input <<-INPUT_END && + subdir=$(git rev-parse refs/heads/branch^0:file2) && + cat >input <<-INPUT_END && commit refs/heads/N5 committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE data <actual && - compare_diff_raw expect actual' + git fast-import actual && + compare_diff_raw expect actual +' ### ### series O -- 1.7.2.3