X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=t%2Ft1200-tutorial.sh;h=f4d53c078a4a476c5dfadcfb2582dbb97c71db5c;hb=cf9dc65368113caa28f2829e2ada5477fbb031ec;hp=8ff5dd92c9c731c11786669929e3a241c6371eb1;hpb=767e130915015f897fb87b939843b4882212574b;p=git.git diff --git a/t/t1200-tutorial.sh b/t/t1200-tutorial.sh index 8ff5dd92..f4d53c07 100755 --- a/t/t1200-tutorial.sh +++ b/t/t1200-tutorial.sh @@ -95,13 +95,13 @@ test_expect_success 'git branch' 'cmp branch.expect branch.output' git checkout mybranch echo "Work, work, work" >>hello -git commit -m 'Some work.' hello +git commit -m 'Some work.' -i hello git checkout master echo "Play, play, play" >>hello echo "Lots of fun" >>example -git commit -m 'Some fun.' hello example +git commit -m 'Some fun.' -i hello example test_expect_failure 'git resolve now fails' 'git resolve HEAD mybranch "Merge work in mybranch"' @@ -112,7 +112,9 @@ Play, play, play Work, work, work EOF -git commit -m 'Merged "mybranch" changes.' hello +git commit -m 'Merged "mybranch" changes.' -i hello + +test_done cat > show-branch.expect << EOF * [master] Merged "mybranch" changes. @@ -128,7 +130,7 @@ test_expect_success 'git show-branch' 'cmp show-branch.expect show-branch.output git checkout mybranch cat > resolve.expect << EOF -Updating from VARIABLE to VARIABLE. +Updating from VARIABLE to VARIABLE example | 1 + hello | 1 + 2 files changed, 2 insertions(+), 0 deletions(-)