@@ -11,10 +11,10 @@ test_expect_success 'setup' '
git commit -m one)
'
-test_expect_success 'git pull -q --no-rebase' '
+test_expect_success 'git pull -q' '
mkdir clonedq &&
(cd clonedq && git init &&
- git pull -q --no-rebase "../parent" >out 2>err &&
+ git pull -q "../parent" >out 2>err &&
test_must_be_empty err &&
test_must_be_empty out)
'
@@ -30,10 +30,10 @@ test_expect_success 'git pull -q --rebase' '
test_must_be_empty out)
'
-test_expect_success 'git pull --no-rebase' '
+test_expect_success 'git pull' '
mkdir cloned &&
(cd cloned && git init &&
- git pull --no-rebase "../parent" >out 2>err &&
+ git pull "../parent" >out 2>err &&
test -s err &&
test_must_be_empty out)
'
@@ -46,10 +46,10 @@ test_expect_success 'git pull --rebase' '
test_must_be_empty out)
'
-test_expect_success 'git pull -v --no-rebase' '
+test_expect_success 'git pull -v' '
mkdir clonedv &&
(cd clonedv && git init &&
- git pull -v --no-rebase "../parent" >out 2>err &&
+ git pull -v "../parent" >out 2>err &&
test -s err &&
test_must_be_empty out)
'
@@ -62,25 +62,25 @@ test_expect_success 'git pull -v --rebase' '
test_must_be_empty out)
'
-test_expect_success 'git pull -v -q --no-rebase' '
+test_expect_success 'git pull -v -q' '
mkdir clonedvq &&
(cd clonedvq && git init &&
- git pull -v -q --no-rebase "../parent" >out 2>err &&
+ git pull -v -q "../parent" >out 2>err &&
test_must_be_empty out &&
test_must_be_empty err)
'
-test_expect_success 'git pull -q -v --no-rebase' '
+test_expect_success 'git pull -q -v' '
mkdir clonedqv &&
(cd clonedqv && git init &&
- git pull -q -v --no-rebase "../parent" >out 2>err &&
+ git pull -q -v "../parent" >out 2>err &&
test_must_be_empty out &&
test -s err)
'
test_expect_success 'git pull --cleanup errors early on invalid argument' '
mkdir clonedcleanup &&
(cd clonedcleanup && git init &&
- test_must_fail git pull --no-rebase --cleanup invalid "../parent" >out 2>err &&
+ test_must_fail git pull --cleanup invalid "../parent" >out 2>err &&
test_must_be_empty out &&
test -s err)
'
Commit d18c950a69 changed these tests, but it's unclear why. Probably because earlier versions of the patch series died instead of printing a warning. Cc: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> --- t/t5521-pull-options.sh | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-)