aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-02-13 16:44:27 -0800
committerJunio C Hamano <junkio@cox.net>2007-02-13 16:45:40 -0800
commitf8f2aaa17297d6b21c84641edc2f6135575a003c (patch)
tree48158676defa9aa697d154c9490069a37f749fde /t
parent6132bd5cac91c2a42d67f92fd2e266678c6c8474 (diff)
parent4cc41a16c15a6d73b13f9211eb8bf49ec869705f (diff)
downloadgit-f8f2aaa17297d6b21c84641edc2f6135575a003c.tar.gz
git-f8f2aaa17297d6b21c84641edc2f6135575a003c.tar.xz
Merge branch 'jc/deprecate'
As previously announced, diff-stages and resolve are now gone.
Diffstat (limited to 't')
-rwxr-xr-xt/t1200-tutorial.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/t/t1200-tutorial.sh b/t/t1200-tutorial.sh
index eebe643bd..ca2c30f7a 100755
--- a/t/t1200-tutorial.sh
+++ b/t/t1200-tutorial.sh
@@ -101,7 +101,9 @@ echo "Play, play, play" >>hello
echo "Lots of fun" >>example
git commit -m 'Some fun.' -i hello example
-test_expect_failure 'git resolve now fails' 'git resolve HEAD mybranch "Merge work in mybranch"'
+test_expect_failure 'git resolve now fails' '
+ git merge -m "Merge work in mybranch" mybranch
+'
cat > hello << EOF
Hello World
@@ -134,8 +136,8 @@ Updating from VARIABLE to VARIABLE
2 files changed, 2 insertions(+), 0 deletions(-)
EOF
-git resolve HEAD master "Merge upstream changes." | \
- sed -e "1s/[0-9a-f]\{40\}/VARIABLE/g" > resolve.output
+git merge -s "Merge upstream changes." master | \
+ sed -e "1s/[0-9a-f]\{40\}/VARIABLE/g" >resolve.output
test_expect_success 'git resolve' 'cmp resolve.expect resolve.output'
cat > show-branch2.expect << EOF