Skip to content

Commit

Permalink
t7610-mergetool: add missing && and remove commented-out code
Browse files Browse the repository at this point in the history
Signed-off-by: David Aguilar <[email protected]>
Signed-off-by: Junio C Hamano <[email protected]>
  • Loading branch information
davvid authored and gitster committed Oct 15, 2014
1 parent 7457861 commit 4756c05
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions t/t7610-mergetool.sh
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ test_expect_success 'mergetool merges all from subdir' '
test_expect_success 'mergetool skips resolved paths when rerere is active' '
git config rerere.enabled true &&
rm -rf .git/rr-cache &&
git checkout -b test5 branch1
git checkout -b test5 branch1 &&
git submodule update -N &&
test_must_fail git merge master >/dev/null 2>&1 &&
( yes "l" | git mergetool --no-prompt submod >/dev/null 2>&1 ) &&
Expand Down Expand Up @@ -231,18 +231,12 @@ test_expect_success 'conflicted stash sets up rerere' '
'

test_expect_success 'mergetool takes partial path' '
git reset --hard
git reset --hard &&
git config rerere.enabled false &&
git checkout -b test12 branch1 &&
git submodule update -N &&
test_must_fail git merge master &&
#should not need these lines
#( yes "d" | git mergetool file11 >/dev/null 2>&1 ) &&
#( yes "d" | git mergetool file12 >/dev/null 2>&1 ) &&
#( yes "l" | git mergetool submod >/dev/null 2>&1 ) &&
#( yes "" | git mergetool file1 file2 >/dev/null 2>&1 ) &&
( yes "" | git mergetool subdir ) &&
test "$(cat subdir/file3)" = "master new sub" &&
Expand Down

0 comments on commit 4756c05

Please sign in to comment.