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
6
third_party/git/t/t6501-freshen-objects.sh
vendored
6
third_party/git/t/t6501-freshen-objects.sh
vendored
|
|
@ -137,7 +137,7 @@ test_expect_success 'do not complain about existing broken links (commit)' '
|
|||
some message
|
||||
EOF
|
||||
commit=$(git hash-object -t commit -w broken-commit) &&
|
||||
git gc -q 2>stderr &&
|
||||
git gc 2>stderr &&
|
||||
verbose git cat-file -e $commit &&
|
||||
test_must_be_empty stderr
|
||||
'
|
||||
|
|
@ -147,7 +147,7 @@ test_expect_success 'do not complain about existing broken links (tree)' '
|
|||
100644 blob 0000000000000000000000000000000000000003 foo
|
||||
EOF
|
||||
tree=$(git mktree --missing <broken-tree) &&
|
||||
git gc -q 2>stderr &&
|
||||
git gc 2>stderr &&
|
||||
git cat-file -e $tree &&
|
||||
test_must_be_empty stderr
|
||||
'
|
||||
|
|
@ -162,7 +162,7 @@ test_expect_success 'do not complain about existing broken links (tag)' '
|
|||
this is a broken tag
|
||||
EOF
|
||||
tag=$(git hash-object -t tag -w broken-tag) &&
|
||||
git gc -q 2>stderr &&
|
||||
git gc 2>stderr &&
|
||||
git cat-file -e $tag &&
|
||||
test_must_be_empty stderr
|
||||
'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue