revert(3p/git): Revert merge of git upstream at v2.26.2
This causes cgit to serve error pages, which is undesirable. This reverts commit5229c9b232
, reversing changes made tof2b211131f
.
This commit is contained in:
parent
6f8fbf4aa4
commit
93ba78d6f4
1006 changed files with 60537 additions and 148724 deletions
5
third_party/git/t/t7800-difftool.sh
vendored
5
third_party/git/t/t7800-difftool.sh
vendored
|
@ -125,14 +125,15 @@ 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 failed
|
||||
echo "$2"
|
||||
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_line_count = 1 actual
|
||||
test_cmp expect actual
|
||||
'
|
||||
|
||||
test_expect_success 'difftool honors exit status if command not found' '
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue