]> git.ipfire.org Git - thirdparty/git.git/commitdiff
t: replace pulls with merges
authorFelipe Contreras <felipe.contreras@gmail.com>
Thu, 31 Oct 2013 09:25:33 +0000 (03:25 -0600)
committerJunio C Hamano <gitster@pobox.com>
Thu, 31 Oct 2013 18:12:26 +0000 (11:12 -0700)
This is what the code intended.

No functional changes.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/annotate-tests.sh
t/t4200-rerere.sh
t/t9114-git-svn-dcommit-merge.sh
t/t9500-gitweb-standalone-no-errors.sh

index 99caa42f5cdc199504d1c5fad442d8f8036e376e..c9d105d70725b9a97d5a9518e83c615821e91c23 100644 (file)
@@ -92,7 +92,7 @@ test_expect_success 'blame 2 authors + 1 branch2 author' '
 '
 
 test_expect_success 'merge branch1 & branch2' '
-       git pull . branch1
+       git merge branch1
 '
 
 test_expect_success 'blame 2 authors + 2 merged-in authors' '
index 7f6666fcd3ffd6dfe53ed72cedcbabfe5a626ed8..cf19eb78afa71f08a34804e1838d16bd3384d820 100755 (executable)
@@ -172,7 +172,7 @@ test_expect_success 'first postimage wins' '
        git show second^:a1 | sed "s/To die: t/To die! T/" >a1 &&
        git commit -q -a -m third &&
 
-       test_must_fail git pull . first &&
+       test_must_fail git merge first &&
        # rerere kicked in
        ! grep "^=======\$" a1 &&
        test_cmp expect a1
index f524d2f383212c7d5fb02103cc08c3cdde2519fc..d33d7140060613fbec4c45dc8d2c86394d64b4fa 100755 (executable)
@@ -62,7 +62,7 @@ test_expect_success 'setup git mirror and merge' '
        echo friend > README &&
        cat tmp >> README &&
        git commit -a -m "friend" &&
-       git pull . merge
+       git merge merge
        '
 
 test_debug 'gitk --all & sleep 1'
index 718014d5dead8f36b2dde6ce38de63316ec57fdb..e74b9ab1e16a9255afad32de380b69aa9e76db47 100755 (executable)
@@ -328,7 +328,7 @@ test_expect_success \
         git add b &&
         git commit -a -m "On branch" &&
         git checkout master &&
-        git pull . b &&
+        git merge b &&
         git tag merge_commit'
 
 test_expect_success \