merge(3p/git): Merge git upstream at v2.26.2
This commit is contained in:
commit
5229c9b232
1006 changed files with 149006 additions and 60819 deletions
5
third_party/git/t/t7800-difftool.sh
vendored
5
third_party/git/t/t7800-difftool.sh
vendored
|
|
@ -125,15 +125,14 @@ test_expect_success 'difftool stops on error with --trust-exit-code' '
|
|||
test_when_finished "rm -f for-diff .git/fail-right-file" &&
|
||||
test_when_finished "git reset -- for-diff" &&
|
||||
write_script .git/fail-right-file <<-\EOF &&
|
||||
echo "$2"
|
||||
echo failed
|
||||
exit 1
|
||||
EOF
|
||||
>for-diff &&
|
||||
git add for-diff &&
|
||||
echo file >expect &&
|
||||
test_must_fail git difftool -y --trust-exit-code \
|
||||
--extcmd .git/fail-right-file branch >actual &&
|
||||
test_cmp expect actual
|
||||
test_line_count = 1 actual
|
||||
'
|
||||
|
||||
test_expect_success 'difftool honors exit status if command not found' '
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue