merge(3p/git): Merge git subtree at v2.29.2
This also bumps the stable nixpkgs to 20.09 as of 2020-11-21, because there is some breakage in the git build related to the netrc credentials helper which someone has taken care of in nixpkgs. The stable channel is not used for anything other than git, so this should be fine. Change-Id: I3575a19dab09e1e9556cf8231d717de9890484fb
This commit is contained in:
parent
082c006c04
commit
f4609b896f
1485 changed files with 241535 additions and 109418 deletions
6
third_party/git/t/t7201-co.sh
vendored
6
third_party/git/t/t7201-co.sh
vendored
|
|
@ -230,9 +230,10 @@ test_expect_success 'switch to another branch while carrying a deletion' '
|
|||
test_expect_success 'checkout to detach HEAD (with advice declined)' '
|
||||
|
||||
git config advice.detachedHead false &&
|
||||
rev=$(git rev-parse --short renamer^) &&
|
||||
git checkout -f renamer && git clean -f &&
|
||||
git checkout renamer^ 2>messages &&
|
||||
test_i18ngrep "HEAD is now at 7329388" messages &&
|
||||
test_i18ngrep "HEAD is now at $rev" messages &&
|
||||
test_line_count = 1 messages &&
|
||||
H=$(git rev-parse --verify HEAD) &&
|
||||
M=$(git show-ref -s --verify refs/heads/master) &&
|
||||
|
|
@ -248,9 +249,10 @@ test_expect_success 'checkout to detach HEAD (with advice declined)' '
|
|||
|
||||
test_expect_success 'checkout to detach HEAD' '
|
||||
git config advice.detachedHead true &&
|
||||
rev=$(git rev-parse --short renamer^) &&
|
||||
git checkout -f renamer && git clean -f &&
|
||||
GIT_TEST_GETTEXT_POISON=false git checkout renamer^ 2>messages &&
|
||||
grep "HEAD is now at 7329388" messages &&
|
||||
grep "HEAD is now at $rev" messages &&
|
||||
test_line_count -gt 1 messages &&
|
||||
H=$(git rev-parse --verify HEAD) &&
|
||||
M=$(git show-ref -s --verify refs/heads/master) &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue