File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ test_expect_success 'mergetool merges all from subdir' '
192192test_expect_success ' mergetool skips resolved paths when rerere is active' '
193193 git config rerere.enabled true &&
194194 rm -rf .git/rr-cache &&
195- git checkout -b test5 branch1
195+ git checkout -b test5 branch1 &&
196196 git submodule update -N &&
197197 test_must_fail git merge master >/dev/null 2>&1 &&
198198 ( yes "l" | git mergetool --no-prompt submod >/dev/null 2>&1 ) &&
@@ -231,18 +231,12 @@ test_expect_success 'conflicted stash sets up rerere' '
231231'
232232
233233test_expect_success ' mergetool takes partial path' '
234- git reset --hard
234+ git reset --hard &&
235235 git config rerere.enabled false &&
236236 git checkout -b test12 branch1 &&
237237 git submodule update -N &&
238238 test_must_fail git merge master &&
239239
240- #should not need these lines
241- #( yes "d" | git mergetool file11 >/dev/null 2>&1 ) &&
242- #( yes "d" | git mergetool file12 >/dev/null 2>&1 ) &&
243- #( yes "l" | git mergetool submod >/dev/null 2>&1 ) &&
244- #( yes "" | git mergetool file1 file2 >/dev/null 2>&1 ) &&
245-
246240 ( yes "" | git mergetool subdir ) &&
247241
248242 test "$(cat subdir/file3)" = "master new sub" &&
You can’t perform that action at this time.
0 commit comments