From 0ca2972345d6de3b9eb845af4b0e9b701af120bd Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Thu, 19 Nov 2015 20:09:48 +0100 Subject: modernize t9300: mark here-doc words to ignore tab indentation In the next commit, we will indent test case preparations. This will require that here-documents ignore the tab indentation. Prepare for this change by marking the here-doc words accordingly. This does not have an effect now, but will remove some noise from the git diff -b output of the next commit. The change here is entirely automated with this perl command: perl -i -lpe 's/(cat.*<<) *((EOF|(EXPECT|INPUT)_END).*$)/$1-$2 &&/' t/t9300-fast-import.sh i.e., inserts a dash between << and the EOF word (and removes blanks that our style guide abhors) and appends the && that will become necessary. Signed-off-by: Johannes Sixt Signed-off-by: Jeff King --- t/t9300-fast-import.sh | 200 ++++++++++++++++++++++++------------------------- 1 file changed, 100 insertions(+), 100 deletions(-) (limited to 't') diff --git a/t/t9300-fast-import.sh b/t/t9300-fast-import.sh index adabd687d8..7586f41367 100755 --- a/t/t9300-fast-import.sh +++ b/t/t9300-fast-import.sh @@ -57,7 +57,7 @@ test_expect_success 'empty stream succeeds' ' git fast-import input <input <<-INPUT_END && blob mark :2 data <expect <expect <<-EOF && author $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE @@ -118,7 +118,7 @@ test_expect_success 'A: verify commit' ' test_cmp expect actual ' -cat >expect <expect <<-EOF && 100644 blob file2 100644 blob file3 100755 blob file4 @@ -146,7 +146,7 @@ test_expect_success 'A: verify file4' ' test_cmp expect actual ' -cat >expect <expect <<-EOF && object $(git rev-parse refs/heads/master) type commit tag series-A @@ -158,7 +158,7 @@ test_expect_success 'A: verify tag/series-A' ' test_cmp expect actual ' -cat >expect <expect <<-EOF && object $(git rev-parse refs/heads/master:file3) type blob tag series-A-blob @@ -170,7 +170,7 @@ test_expect_success 'A: verify tag/series-A-blob' ' test_cmp expect actual ' -cat >expect <expect <<-EOF && :2 `git rev-parse --verify master:file2` :3 `git rev-parse --verify master:file3` :4 `git rev-parse --verify master:file4` @@ -190,7 +190,7 @@ test_expect_success 'A: verify marks import' ' test_tick new_blob=$(echo testing | git hash-object --stdin) -cat >input <input <<-INPUT_END && tag series-A-blob-2 from $(git rev-parse refs/heads/master:file3) data <expect <expect <<-EOF && object $(git rev-parse refs/heads/master:file3) type blob tag series-A-blob-2 @@ -238,7 +238,7 @@ test_expect_success 'A: tag blob by sha1' ' ' test_tick -cat >input <input <<-INPUT_END && commit refs/heads/verify--import-marks committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE data <expect <expect <<-EOF && :000000 100755 0000000000000000000000000000000000000000 7123f7f44e39be127c5eb701e5968176ee9d78b1 A copy-of-file2 EOF git diff-tree -M -r master verify--import-marks >actual @@ -274,7 +274,7 @@ mt=$(git hash-object --stdin < /dev/null) : >marks.exp : >tree.exp -cat >input.commit <input.commit <<-EOF && commit refs/heads/verify--dump-marks committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE data <>input.blob <>input.blob <<-EOF && blob mark :$l data 0 @@ -331,7 +331,7 @@ test_expect_success 'A: export marks with large values' ' ### test_tick -cat >input <input <<-INPUT_END && commit refs/heads/branch mark :1 committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE @@ -348,7 +348,7 @@ test_expect_success 'B: fail on invalid blob sha1' ' test_must_fail git fast-import input <input <<-INPUT_END && commit TEMP_TAG committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE data <input <input <<-INPUT_END && commit refs/heads/empty-committer-1 committer <> $GIT_COMMITTER_DATE data <input <input <<-INPUT_END && commit refs/heads/empty-committer-2 committer $GIT_COMMITTER_DATE data <input <input <<-INPUT_END && commit refs/heads/invalid-committer committer Name email> $GIT_COMMITTER_DATE data <input <input <<-INPUT_END && commit refs/heads/invalid-committer committer Name $GIT_COMMITTER_DATE data <input <input <<-INPUT_END && commit refs/heads/invalid-committer committer Name > $GIT_COMMITTER_DATE data <input <input <<-INPUT_END && commit refs/heads/invalid-committer committer Name input <input <<-INPUT_END && commit refs/heads/invalid-committer committer Name $GIT_COMMITTER_DATE data <input <input <<-INPUT_END && commit refs/heads/branch committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE data <expect <expect <<-EOF && parent `git rev-parse --verify master^0` author $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE @@ -507,7 +507,7 @@ test_expect_success 'C: verify commit' ' test_cmp expect actual ' -cat >expect <expect <<-EOF && :000000 100755 0000000000000000000000000000000000000000 f1fb5da718392694d0076d677d6d0e364c79b0bc A file2/newf :100644 100644 7123f7f44e39be127c5eb701e5968176ee9d78b1 7123f7f44e39be127c5eb701e5968176ee9d78b1 R100 file2 file2/oldf :100644 000000 0d92e9f3374ae2947c23aa477cbc68ce598135f1 0000000000000000000000000000000000000000 D file3 @@ -522,7 +522,7 @@ test_expect_success 'C: validate rename result' ' ### test_tick -cat >input <input <<-INPUT_END && commit refs/heads/branch committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE data <expect <expect <<-EOF && :000000 100755 0000000000000000000000000000000000000000 e74b7d465e52746be2b4bae983670711e6e66657 A newdir/exec.sh :000000 100644 0000000000000000000000000000000000000000 fcf778cda181eaa1cbc9e9ce3a2e15ee9f9fe791 A newdir/interesting EOF @@ -575,7 +575,7 @@ test_expect_success 'D: verify file6' ' ### series E ### -cat >input <input <<-INPUT_END && commit refs/heads/branch author $GIT_AUTHOR_NAME <$GIT_AUTHOR_EMAIL> Tue Feb 6 11:22:18 2007 -0500 committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> Tue Feb 6 12:35:02 2007 -0500 @@ -597,7 +597,7 @@ test_expect_success 'E: verify pack' ' verify_packs ' -cat >expect <expect <<-EOF && author $GIT_AUTHOR_NAME <$GIT_AUTHOR_EMAIL> 1170778938 -0500 committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> 1170783302 -0500 @@ -614,7 +614,7 @@ test_expect_success 'E: verify commit' ' old_branch=`git rev-parse --verify branch^0` test_tick -cat >input <input <<-INPUT_END && commit refs/heads/branch committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE data <expect <expect <<-EOF && tree `git rev-parse branch~1^{tree}` parent `git rev-parse branch~1` author $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE @@ -656,7 +656,7 @@ test_expect_success 'F: verify other commit' ' old_branch=`git rev-parse --verify branch^0` test_tick -cat >input <input <<-INPUT_END && commit refs/heads/branch committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE data <input <input <<-INPUT_END && commit refs/heads/H committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE data <expect <expect <<-EOF && :100755 000000 f1fb5da718392694d0076d677d6d0e364c79b0bc 0000000000000000000000000000000000000000 D file2/newf :100644 000000 7123f7f44e39be127c5eb701e5968176ee9d78b1 0000000000000000000000000000000000000000 D file2/oldf :100755 000000 85df50785d62d3b05ab03d9cbf7e4a0b49449730 0000000000000000000000000000000000000000 D file4 @@ -735,7 +735,7 @@ test_expect_success 'H: verify file' ' ### series I ### -cat >input <input <<-INPUT_END && commit refs/heads/export-boundary committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE data <expect <expect <<-EOF && .git/objects/pack/pack-.pack: `git rev-parse --verify export-boundary` EOF test_expect_success 'I: verify edge list' ' @@ -761,7 +761,7 @@ test_expect_success 'I: verify edge list' ' ### series J ### -cat >input <input <<-INPUT_END && commit refs/heads/J committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE data <input <input <<-INPUT_END && reset refs/heads/J2 tag wrong_tag @@ -803,7 +803,7 @@ test_expect_success 'J: tag must fail on empty branch' ' ### series K ### -cat >input <input <<-INPUT_END && commit refs/heads/K committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE data <input <input <<-INPUT_END && blob mark :1 data <expect <expect <<-EXPECT_END && :100644 100644 4268632... 55d3a52... M b. :040000 040000 0ae5cac... 443c768... M b :100644 100644 4268632... 55d3a52... M ba @@ -879,7 +879,7 @@ test_expect_success 'L: verify internal tree sorting' ' test_cmp expect output ' -cat >input <input <<-INPUT_END && blob mark :1 data <expect +cat <<-EOF >expect && g/b/f g/b/h EOF @@ -924,7 +924,7 @@ test_expect_success 'L: nested tree copy does not corrupt deltas' ' ### test_tick -cat >input <input <<-INPUT_END && commit refs/heads/M1 committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE data <expect <expect <<-EOF && :100755 100755 f1fb5da718392694d0076d677d6d0e364c79b0bc f1fb5da718392694d0076d677d6d0e364c79b0bc R100 file2/newf file2/n.e.w.f EOF test_expect_success 'M: rename file in same subdirectory' ' @@ -945,7 +945,7 @@ test_expect_success 'M: rename file in same subdirectory' ' compare_diff_raw expect actual ' -cat >input <input <<-INPUT_END && commit refs/heads/M2 committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE data <expect <expect <<-EOF && :100755 100755 f1fb5da718392694d0076d677d6d0e364c79b0bc f1fb5da718392694d0076d677d6d0e364c79b0bc R100 file2/newf i/am/new/to/you EOF test_expect_success 'M: rename file to new subdirectory' ' @@ -966,7 +966,7 @@ test_expect_success 'M: rename file to new subdirectory' ' compare_diff_raw expect actual ' -cat >input <input <<-INPUT_END && commit refs/heads/M3 committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE data <expect <expect <<-EOF && :100755 100755 f1fb5da718392694d0076d677d6d0e364c79b0bc f1fb5da718392694d0076d677d6d0e364c79b0bc R100 i/am/new/to/you other/sub/am/new/to/you EOF test_expect_success 'M: rename subdirectory to new subdirectory' ' @@ -987,7 +987,7 @@ test_expect_success 'M: rename subdirectory to new subdirectory' ' compare_diff_raw expect actual ' -cat >input <input <<-INPUT_END && commit refs/heads/M4 committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE data <expect <expect <<-EOF && :100644 100644 7123f7f44e39be127c5eb701e5968176ee9d78b1 7123f7f44e39be127c5eb701e5968176ee9d78b1 R100 file2/oldf sub/file2/oldf :100755 100755 85df50785d62d3b05ab03d9cbf7e4a0b49449730 85df50785d62d3b05ab03d9cbf7e4a0b49449730 R100 file4 sub/file4 :100755 100755 f1fb5da718392694d0076d677d6d0e364c79b0bc f1fb5da718392694d0076d677d6d0e364c79b0bc R100 i/am/new/to/you sub/i/am/new/to/you @@ -1018,7 +1018,7 @@ test_expect_success 'M: rename root to subdirectory' ' ### test_tick -cat >input <input <<-INPUT_END && commit refs/heads/N1 committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE data <expect <expect <<-EOF && :100755 100755 f1fb5da718392694d0076d677d6d0e364c79b0bc f1fb5da718392694d0076d677d6d0e364c79b0bc C100 file2/newf file2/n.e.w.f EOF test_expect_success 'N: copy file in same subdirectory' ' @@ -1039,7 +1039,7 @@ test_expect_success 'N: copy file in same subdirectory' ' compare_diff_raw expect actual ' -cat >input <input <<-INPUT_END && commit refs/heads/N2 committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE data <expect <expect <<-EOF && :100644 100644 fcf778cda181eaa1cbc9e9ce3a2e15ee9f9fe791 fcf778cda181eaa1cbc9e9ce3a2e15ee9f9fe791 C100 newdir/interesting file3/file5 :100755 100755 f1fb5da718392694d0076d677d6d0e364c79b0bc f1fb5da718392694d0076d677d6d0e364c79b0bc C100 file2/newf file3/newf :100644 100644 7123f7f44e39be127c5eb701e5968176ee9d78b1 7123f7f44e39be127c5eb701e5968176ee9d78b1 C100 file2/oldf file3/oldf @@ -1073,7 +1073,7 @@ test_expect_success 'N: copy then modify subdirectory' ' compare_diff_raw expect actual ' -cat >input <input <<-INPUT_END && commit refs/heads/N3 committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE data <input <input <<-INPUT_END && #we will commit refs/heads/O1 # -- ignore all of this text @@ -1493,7 +1493,7 @@ test_expect_success 'O: comments are all skipped' ' test `git rev-parse N3` = `git rev-parse O1` ' -cat >input <input <<-INPUT_END && commit refs/heads/O2 committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE data <input <input <<-INPUT_END && commit refs/heads/O3 committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE data <expect <expect <<-INPUT_END && string of empty @@ -1562,7 +1562,7 @@ test_expect_success 'O: blank lines not necessary after other commands' ' test_cmp expect actual ' -cat >input <input <<-INPUT_END && commit refs/heads/O4 committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE data <input <input <<-INPUT_END && blob mark :1 data 10 @@ -1670,7 +1670,7 @@ test_expect_success 'P: superproject & submodule mix' ' SUBLAST=$(git rev-parse --verify sub) SUBPREV=$(git rev-parse --verify sub^) -cat >input <input <<-INPUT_END && blob mark :1 data <input <input <<-INPUT_END && commit refs/heads/subuse3 mark :1 committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE @@ -1728,7 +1728,7 @@ test_expect_success 'P: fail on inline gitlink' ' ' test_tick -cat >input <input <<-INPUT_END && blob mark :1 data <input <input <<-INPUT_END && blob mark :2 data <expect <expect <<-EOF && author $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE @@ -1898,7 +1898,7 @@ test_expect_success 'Q: verify first commit' ' test_cmp expect actual ' -cat >expect <expect <<-EOF && parent $commit1 author $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE @@ -1910,7 +1910,7 @@ test_expect_success 'Q: verify second commit' ' test_cmp expect actual ' -cat >expect <expect <<-EOF && parent $commit2 author $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE @@ -1922,7 +1922,7 @@ test_expect_success 'Q: verify third commit' ' test_cmp expect actual ' -cat >expect <expect <<-EOF && author $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE @@ -1933,7 +1933,7 @@ test_expect_success 'Q: verify first notes commit' ' test_cmp expect actual ' -cat >expect.unsorted <expect.unsorted <<-EOF && 100644 blob $commit1 100644 blob $commit2 100644 blob $commit3 @@ -1962,7 +1962,7 @@ test_expect_success 'Q: verify first note for third commit' ' test_cmp expect actual ' -cat >expect <expect <<-EOF && parent `git rev-parse --verify refs/notes/foobar~2` author $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE @@ -1974,7 +1974,7 @@ test_expect_success 'Q: verify second notes commit' ' test_cmp expect actual ' -cat >expect.unsorted <expect.unsorted <<-EOF && 100644 blob $commit1 100644 blob $commit2 100644 blob $commit3 @@ -2003,7 +2003,7 @@ test_expect_success 'Q: verify first note for third commit' ' test_cmp expect actual ' -cat >expect <expect <<-EOF && author $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE @@ -2014,7 +2014,7 @@ test_expect_success 'Q: verify third notes commit' ' test_cmp expect actual ' -cat >expect.unsorted <expect.unsorted <<-EOF && 100644 blob $commit1 EOF cat expect.unsorted | sort >expect @@ -2029,7 +2029,7 @@ test_expect_success 'Q: verify third note for first commit' ' test_cmp expect actual ' -cat >expect <expect <<-EOF && parent `git rev-parse --verify refs/notes/foobar^` author $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE @@ -2041,7 +2041,7 @@ test_expect_success 'Q: verify fourth notes commit' ' test_cmp expect actual ' -cat >expect.unsorted <expect.unsorted <<-EOF && 100644 blob $commit2 EOF cat expect.unsorted | sort >expect @@ -2056,7 +2056,7 @@ test_expect_success 'Q: verify second note for second commit' ' test_cmp expect actual ' -cat >input <input <<-EOF && reset refs/heads/Q0 commit refs/heads/note-Q0 @@ -2077,7 +2077,7 @@ test_expect_success 'Q: deny note on empty branch' ' ### series R (feature and option) ### -cat >input <input <<-EOF && feature no-such-feature-exists EOF @@ -2085,7 +2085,7 @@ test_expect_success 'R: abort on unsupported feature' ' test_must_fail git fast-import input <input <<-EOF && feature date-format=now EOF @@ -2093,7 +2093,7 @@ test_expect_success 'R: supported feature is accepted' ' git fast-import input << EOF +cat >input <<-EOF && blob data 3 hi @@ -2104,7 +2104,7 @@ test_expect_success 'R: abort on receiving feature after data command' ' test_must_fail git fast-import input << EOF +cat >input <<-EOF && feature import-marks=git.marks feature import-marks=git2.marks EOF @@ -2113,7 +2113,7 @@ test_expect_success 'R: only one import-marks feature allowed per stream' ' test_must_fail git fast-import input << EOF +cat >input <<-EOF && feature export-marks=git.marks blob mark :1 @@ -2234,7 +2234,7 @@ test_expect_success 'R: feature import-marks-if-exists' ' test_cmp expect io.marks ' -cat >input << EOF +cat >input <<-EOF && feature import-marks=marks.out feature export-marks=marks.new EOF @@ -2244,7 +2244,7 @@ test_expect_success 'R: import to output marks works without any content' ' test_cmp marks.out marks.new ' -cat >input <input <<-EOF && feature import-marks=nonexistent.marks feature export-marks=marks.new EOF @@ -2255,7 +2255,7 @@ test_expect_success 'R: import marks prefers commandline marks file over the str ' -cat >input <input <<-EOF && feature import-marks=nonexistent.marks feature export-marks=combined.marks EOF @@ -2267,7 +2267,7 @@ test_expect_success 'R: multiple --import-marks= should be honoured' ' test_cmp marks.out combined.marks ' -cat >input <input <<-EOF && feature relative-marks feature import-marks=relative.in feature export-marks=relative.out @@ -2280,7 +2280,7 @@ test_expect_success 'R: feature relative-marks should be honoured' ' test_cmp marks.new .git/info/fast-import/relative.out ' -cat >input <input <<-EOF && feature relative-marks feature import-marks=relative.in feature no-relative-marks @@ -2549,7 +2549,7 @@ test_expect_success PIPE 'R: print staged blob within commit' ' test_cmp expect actual ' -cat >input << EOF +cat >input <<-EOF && option git quiet blob data 3 @@ -2604,7 +2604,7 @@ test_expect_success 'R: terminating "done" within commit' ' test_cmp expect actual ' -cat >input <input <<-EOF && option git non-existing-option EOF @@ -2624,7 +2624,7 @@ test_expect_success 'R: die on invalid option argument' ' test_must_fail git fast-import --depth="5 elephants" input <input <<-EOF && option non-existing-vcs non-existing-option EOF @@ -2637,7 +2637,7 @@ test_expect_success 'R: ignore non-git options' ' ## blobsize=$((2*1024*1024 + 53)) test-genrandom bar $blobsize >expect -cat >input <input <<-INPUT_END && commit refs/heads/big-file committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE data <>input -cat >>input <>input <<-INPUT_END && M 644 inline big2 data $blobsize INPUT_END @@ -2713,7 +2713,7 @@ test_expect_success 'R: blob appears only once' ' # test_tick -cat >input <input <<-INPUT_END && commit refs/heads/S mark :301 committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE @@ -3002,7 +3002,7 @@ test_expect_success 'T: empty reset doesnt delete branch' ' ### series U (filedelete) ### -cat >input <input <<-INPUT_END && commit refs/heads/U committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE data <input <input <<-INPUT_END && commit refs/heads/U committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE data <expect <expect <<-EOF && :100644 000000 2907ebb4bf85d91bf0716bb3bd8a68ef48d6da76 0000000000000000000000000000000000000000 D good/night.txt EOF @@ -3052,7 +3052,7 @@ test_expect_success 'U: validate file delete result' ' compare_diff_raw expect actual ' -cat >input <input <<-INPUT_END && commit refs/heads/U committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE data <expect <expect <<-EOF && :100644 000000 69cb75792f55123d8389c156b0b41c2ff00ed507 0000000000000000000000000000000000000000 D good/bye.txt EOF @@ -3077,7 +3077,7 @@ test_expect_success 'U: validate directory delete result' ' compare_diff_raw expect actual ' -cat >input <input <<-INPUT_END && commit refs/heads/U committer $GIT_COMMITTER_NAME <$GIT_COMMITTER_EMAIL> $GIT_COMMITTER_DATE data <expect <expect <<-EOF && :100644 000000 c18147dc648481eeb65dc5e66628429a64843327 0000000000000000000000000000000000000000 D hello.c EOF -- cgit v1.2.3