Skip to content

Commit 4756c05

Browse files
davvidgitster
authored andcommitted
t7610-mergetool: add missing && and remove commented-out code
Signed-off-by: David Aguilar <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 7457861 commit 4756c05

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

t/t7610-mergetool.sh

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ test_expect_success 'mergetool merges all from subdir' '
192192
test_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

233233
test_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" &&

0 commit comments

Comments
 (0)