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
|
|
@ -14,8 +14,7 @@ test_expect_success 'setup' '
|
|||
cd sub &&
|
||||
git init &&
|
||||
test_commit subcommit1 &&
|
||||
git tag sub_when_added_to_super &&
|
||||
git branch other
|
||||
git tag sub_when_added_to_super
|
||||
) &&
|
||||
git submodule add "file://$pwd/sub" sub &&
|
||||
git commit -m "add submodule" &&
|
||||
|
|
@ -52,14 +51,4 @@ test_expect_success 'check the default is --no-remote-submodules' '
|
|||
)
|
||||
'
|
||||
|
||||
test_expect_success 'clone with --single-branch' '
|
||||
test_when_finished "rm -rf super_clone" &&
|
||||
git clone --recurse-submodules --single-branch "file://$pwd/." super_clone &&
|
||||
(
|
||||
cd super_clone/sub &&
|
||||
git rev-parse --verify origin/master &&
|
||||
test_must_fail git rev-parse --verify origin/other
|
||||
)
|
||||
'
|
||||
|
||||
test_done
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue