File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ test_expect_success 'mergetool merges all from subdir' '
192
192
test_expect_success ' mergetool skips resolved paths when rerere is active' '
193
193
git config rerere.enabled true &&
194
194
rm -rf .git/rr-cache &&
195
- git checkout -b test5 branch1
195
+ git checkout -b test5 branch1 &&
196
196
git submodule update -N &&
197
197
test_must_fail git merge master >/dev/null 2>&1 &&
198
198
( yes "l" | git mergetool --no-prompt submod >/dev/null 2>&1 ) &&
@@ -231,18 +231,12 @@ test_expect_success 'conflicted stash sets up rerere' '
231
231
'
232
232
233
233
test_expect_success ' mergetool takes partial path' '
234
- git reset --hard
234
+ git reset --hard &&
235
235
git config rerere.enabled false &&
236
236
git checkout -b test12 branch1 &&
237
237
git submodule update -N &&
238
238
test_must_fail git merge master &&
239
239
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
-
246
240
( yes "" | git mergetool subdir ) &&
247
241
248
242
test "$(cat subdir/file3)" = "master new sub" &&
You can’t perform that action at this time.
0 commit comments