@@ -103,7 +103,7 @@ test_expect_success 'setup' '
103103test_expect_success ' pull renaming branch into unrenaming one' \
104104'
105105 git show-branch &&
106- test_expect_code 1 git pull . white &&
106+ test_expect_code 1 git pull --no-rebase . white &&
107107 git ls-files -s &&
108108 git ls-files -u B >b.stages &&
109109 test_line_count = 3 b.stages &&
@@ -121,7 +121,7 @@ test_expect_success 'pull renaming branch into another renaming one' \
121121 rm -f B &&
122122 git reset --hard &&
123123 git checkout red &&
124- test_expect_code 1 git pull . white &&
124+ test_expect_code 1 git pull --no-rebase . white &&
125125 git ls-files -u B >b.stages &&
126126 test_line_count = 3 b.stages &&
127127 git ls-files -s N >n.stages &&
@@ -137,7 +137,7 @@ test_expect_success 'pull unrenaming branch into renaming one' \
137137'
138138 git reset --hard &&
139139 git show-branch &&
140- test_expect_code 1 git pull . main &&
140+ test_expect_code 1 git pull --no-rebase . main &&
141141 git ls-files -u B >b.stages &&
142142 test_line_count = 3 b.stages &&
143143 git ls-files -s N >n.stages &&
@@ -153,7 +153,7 @@ test_expect_success 'pull conflicting renames' \
153153'
154154 git reset --hard &&
155155 git show-branch &&
156- test_expect_code 1 git pull . blue &&
156+ test_expect_code 1 git pull --no-rebase . blue &&
157157 git ls-files -u A >a.stages &&
158158 test_line_count = 1 a.stages &&
159159 git ls-files -u B >b.stages &&
@@ -173,7 +173,7 @@ test_expect_success 'interference with untracked working tree file' '
173173 git reset --hard &&
174174 git show-branch &&
175175 echo >A this file should not matter &&
176- test_expect_code 1 git pull . white &&
176+ test_expect_code 1 git pull --no-rebase . white &&
177177 test_path_is_file A
178178'
179179
@@ -183,7 +183,7 @@ test_expect_success 'interference with untracked working tree file' '
183183 git show-branch &&
184184 rm -f A &&
185185 echo >A this file should not matter &&
186- test_expect_code 1 git pull . red &&
186+ test_expect_code 1 git pull --no-rebase . red &&
187187 test_path_is_file A
188188'
189189
@@ -193,7 +193,7 @@ test_expect_success 'interference with untracked working tree file' '
193193 git checkout -f main &&
194194 git tag -f anchor &&
195195 git show-branch &&
196- git pull . yellow &&
196+ git pull --no-rebase . yellow &&
197197 test_path_is_missing M &&
198198 git reset --hard anchor
199199'
@@ -220,7 +220,7 @@ test_expect_success 'updated working tree file should prevent the merge' '
220220 echo >>M one line addition &&
221221 cat M >M.saved &&
222222 git update-index M &&
223- test_expect_code 128 git pull . yellow &&
223+ test_expect_code 128 git pull --no-rebase . yellow &&
224224 test_cmp M M.saved &&
225225 rm -f M.saved
226226'
@@ -232,7 +232,7 @@ test_expect_success 'interference with untracked working tree file' '
232232 git tag -f anchor &&
233233 git show-branch &&
234234 echo >M this file should not matter &&
235- git pull . main &&
235+ git pull --no-rebase . main &&
236236 test_path_is_file M &&
237237 ! {
238238 git ls-files -s |
0 commit comments