File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ test_expect_success 'custom mergetool' '
112112'
113113
114114test_expect_success ' mergetool crlf' '
115- git config core.autocrlf true &&
115+ test_config core.autocrlf true &&
116116 git checkout -b test2 branch1 &&
117117 test_must_fail git merge master >/dev/null 2>&1 &&
118118 ( yes "" | git mergetool file1 >/dev/null 2>&1 ) &&
@@ -505,14 +505,12 @@ test_expect_success 'file with no base' '
505505
506506test_expect_success ' custom commands override built-ins' '
507507 git checkout -b test14 branch1 &&
508- git config mergetool.defaults.cmd "cat \"\$REMOTE\" >\"\$MERGED\"" &&
509- git config mergetool.defaults.trustExitCode true &&
508+ test_config mergetool.defaults.cmd "cat \"\$REMOTE\" >\"\$MERGED\"" &&
509+ test_config mergetool.defaults.trustExitCode true &&
510510 test_must_fail git merge master &&
511511 git mergetool --no-prompt --tool defaults -- both &&
512512 echo master both added >expected &&
513513 test_cmp both expected &&
514- git config --unset mergetool.defaults.cmd &&
515- git config --unset mergetool.defaults.trustExitCode &&
516514 git reset --hard master >/dev/null 2>&1
517515'
518516
You can’t perform that action at this time.
0 commit comments