revert(3p/git): Revert merge of git upstream at v2.26.2

This causes cgit to serve error pages, which is undesirable.

This reverts commit 5229c9b232, reversing
changes made to f2b211131f.
This commit is contained in:
Vincent Ambo 2020-05-26 00:06:52 +01:00
parent 6f8fbf4aa4
commit 93ba78d6f4
1006 changed files with 60537 additions and 148724 deletions

View file

@ -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