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
9
third_party/git/t/t4018/dts-labels
vendored
Normal file
9
third_party/git/t/t4018/dts-labels
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/ {
|
||||
label_1: node1@ff00 {
|
||||
label2: RIGHT {
|
||||
vendor,some-property;
|
||||
|
||||
ChangeMe = <0x45-30>;
|
||||
};
|
||||
};
|
||||
};
|
||||
8
third_party/git/t/t4018/dts-node-unitless
vendored
Normal file
8
third_party/git/t/t4018/dts-node-unitless
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
/ {
|
||||
label_1: node1 {
|
||||
RIGHT {
|
||||
prop-array = <1>, <4>;
|
||||
ChangeMe = <0xffeedd00>;
|
||||
};
|
||||
};
|
||||
};
|
||||
8
third_party/git/t/t4018/dts-nodes
vendored
Normal file
8
third_party/git/t/t4018/dts-nodes
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
/ {
|
||||
label_1: node1@ff00 {
|
||||
RIGHT@deadf00,4000 {
|
||||
#size-cells = <1>;
|
||||
ChangeMe = <0xffeedd00>;
|
||||
};
|
||||
};
|
||||
};
|
||||
9
third_party/git/t/t4018/dts-nodes-boolean-prop
vendored
Normal file
9
third_party/git/t/t4018/dts-nodes-boolean-prop
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/ {
|
||||
label_1: node1@ff00 {
|
||||
RIGHT@deadf00,4000 {
|
||||
boolean-prop1;
|
||||
|
||||
ChangeMe;
|
||||
};
|
||||
};
|
||||
};
|
||||
8
third_party/git/t/t4018/dts-nodes-comment1
vendored
Normal file
8
third_party/git/t/t4018/dts-nodes-comment1
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
/ {
|
||||
label_1: node1@ff00 {
|
||||
RIGHT@deadf00,4000 /* &a comment */ {
|
||||
#size-cells = <1>;
|
||||
ChangeMe = <0xffeedd00>;
|
||||
};
|
||||
};
|
||||
};
|
||||
8
third_party/git/t/t4018/dts-nodes-comment2
vendored
Normal file
8
third_party/git/t/t4018/dts-nodes-comment2
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
/ {
|
||||
label_1: node1@ff00 {
|
||||
RIGHT@deadf00,4000 { /* a trailing comment */
|
||||
#size-cells = <1>;
|
||||
ChangeMe = <0xffeedd00>;
|
||||
};
|
||||
};
|
||||
};
|
||||
13
third_party/git/t/t4018/dts-nodes-multiline-prop
vendored
Normal file
13
third_party/git/t/t4018/dts-nodes-multiline-prop
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
/ {
|
||||
label_1: node1@ff00 {
|
||||
RIGHT@deadf00,4000 {
|
||||
multilineprop = <3>,
|
||||
<4>,
|
||||
<5>,
|
||||
<6>,
|
||||
<7>;
|
||||
|
||||
ChangeMe = <0xffeedd00>;
|
||||
};
|
||||
};
|
||||
};
|
||||
9
third_party/git/t/t4018/dts-reference
vendored
Normal file
9
third_party/git/t/t4018/dts-reference
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
&label_1 {
|
||||
TEST = <455>;
|
||||
};
|
||||
|
||||
&RIGHT {
|
||||
vendor,some-property;
|
||||
|
||||
ChangeMe = <0x45-30>;
|
||||
};
|
||||
5
third_party/git/t/t4018/dts-root
vendored
Normal file
5
third_party/git/t/t4018/dts-root
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
/ { RIGHT /* Technically just supposed to be a slash and brace */
|
||||
#size-cells = <1>;
|
||||
|
||||
ChangeMe = <0xffeedd00>;
|
||||
};
|
||||
8
third_party/git/t/t4018/dts-root-comment
vendored
Normal file
8
third_party/git/t/t4018/dts-root-comment
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
/ { RIGHT /* Technically just supposed to be a slash and brace */
|
||||
#size-cells = <1>;
|
||||
|
||||
/* This comment should be ignored */
|
||||
|
||||
some-property = <40+2>;
|
||||
ChangeMe = <0xffeedd00>;
|
||||
};
|
||||
5
third_party/git/t/t4018/elixir-do-not-pick-end
vendored
Normal file
5
third_party/git/t/t4018/elixir-do-not-pick-end
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
defmodule RIGHT do
|
||||
end
|
||||
#
|
||||
#
|
||||
# ChangeMe; do not pick up 'end' line
|
||||
6
third_party/git/t/t4018/elixir-ex-unit-test
vendored
Normal file
6
third_party/git/t/t4018/elixir-ex-unit-test
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
defmodule Test do
|
||||
test "RIGHT" do
|
||||
assert true == true
|
||||
assert ChangeMe
|
||||
end
|
||||
end
|
||||
5
third_party/git/t/t4018/elixir-function
vendored
Normal file
5
third_party/git/t/t4018/elixir-function
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
def function(RIGHT, arg) do
|
||||
# comment
|
||||
# comment
|
||||
ChangeMe
|
||||
end
|
||||
5
third_party/git/t/t4018/elixir-macro
vendored
Normal file
5
third_party/git/t/t4018/elixir-macro
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
defmacro foo(RIGHT) do
|
||||
# Code
|
||||
# Code
|
||||
ChangeMe
|
||||
end
|
||||
9
third_party/git/t/t4018/elixir-module
vendored
Normal file
9
third_party/git/t/t4018/elixir-module
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
defmodule RIGHT do
|
||||
@moduledoc """
|
||||
Foo bar
|
||||
"""
|
||||
|
||||
def ChangeMe(a) where is_map(a) do
|
||||
a
|
||||
end
|
||||
end
|
||||
8
third_party/git/t/t4018/elixir-module-func
vendored
Normal file
8
third_party/git/t/t4018/elixir-module-func
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
defmodule Foo do
|
||||
def fun(RIGHT) do
|
||||
# Code
|
||||
# Code
|
||||
# Code
|
||||
ChangeMe
|
||||
end
|
||||
end
|
||||
9
third_party/git/t/t4018/elixir-nested-module
vendored
Normal file
9
third_party/git/t/t4018/elixir-nested-module
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
defmodule MyApp.RIGHT do
|
||||
@moduledoc """
|
||||
Foo bar
|
||||
"""
|
||||
|
||||
def ChangeMe(a) where is_map(a) do
|
||||
a
|
||||
end
|
||||
end
|
||||
5
third_party/git/t/t4018/elixir-private-function
vendored
Normal file
5
third_party/git/t/t4018/elixir-private-function
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
defp function(RIGHT, arg) do
|
||||
# comment
|
||||
# comment
|
||||
ChangeMe
|
||||
end
|
||||
6
third_party/git/t/t4018/elixir-protocol
vendored
Normal file
6
third_party/git/t/t4018/elixir-protocol
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
defprotocol RIGHT do
|
||||
@doc """
|
||||
Calculates the size (and not the length!) of a data structure
|
||||
"""
|
||||
def size(data, ChangeMe)
|
||||
end
|
||||
5
third_party/git/t/t4018/elixir-protocol-implementation
vendored
Normal file
5
third_party/git/t/t4018/elixir-protocol-implementation
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
defimpl RIGHT do
|
||||
# Docs
|
||||
# Docs
|
||||
def foo(ChangeMe), do: :ok
|
||||
end
|
||||
5
third_party/git/t/t4018/fortran-block-data
vendored
Normal file
5
third_party/git/t/t4018/fortran-block-data
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
BLOCK DATA RIGHT
|
||||
|
||||
COMMON /B/ C, ChangeMe
|
||||
DATA C, ChangeMe / 2.0, 6.0 /
|
||||
END
|
||||
13
third_party/git/t/t4018/fortran-comment
vendored
Normal file
13
third_party/git/t/t4018/fortran-comment
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
module a
|
||||
|
||||
contains
|
||||
|
||||
! subroutine wrong
|
||||
subroutine RIGHT
|
||||
! subroutine wrong
|
||||
|
||||
real ChangeMe
|
||||
|
||||
end subroutine RIGHT
|
||||
|
||||
end module a
|
||||
14
third_party/git/t/t4018/fortran-comment-keyword
vendored
Normal file
14
third_party/git/t/t4018/fortran-comment-keyword
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
module a
|
||||
|
||||
contains
|
||||
|
||||
subroutine RIGHT (funcA, funcB)
|
||||
|
||||
real funcA ! grid function a
|
||||
real funcB ! grid function b
|
||||
|
||||
real ChangeMe
|
||||
|
||||
end subroutine RIGHT
|
||||
|
||||
end module a
|
||||
13
third_party/git/t/t4018/fortran-comment-legacy
vendored
Normal file
13
third_party/git/t/t4018/fortran-comment-legacy
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
module a
|
||||
|
||||
contains
|
||||
|
||||
C subroutine wrong
|
||||
subroutine RIGHT
|
||||
C subroutine wrong
|
||||
|
||||
real ChangeMe
|
||||
|
||||
end subroutine RIGHT
|
||||
|
||||
end module a
|
||||
13
third_party/git/t/t4018/fortran-comment-legacy-star
vendored
Normal file
13
third_party/git/t/t4018/fortran-comment-legacy-star
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
module a
|
||||
|
||||
contains
|
||||
|
||||
* subroutine wrong
|
||||
subroutine RIGHT
|
||||
* subroutine wrong
|
||||
|
||||
real ChangeMe
|
||||
|
||||
end subroutine RIGHT
|
||||
|
||||
end module a
|
||||
9
third_party/git/t/t4018/fortran-external-function
vendored
Normal file
9
third_party/git/t/t4018/fortran-external-function
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
function RIGHT(a, b) result(c)
|
||||
|
||||
integer, intent(in) :: ChangeMe
|
||||
integer, intent(in) :: b
|
||||
integer, intent(out) :: c
|
||||
|
||||
c = a+b
|
||||
|
||||
end function RIGHT
|
||||
5
third_party/git/t/t4018/fortran-external-subroutine
vendored
Normal file
5
third_party/git/t/t4018/fortran-external-subroutine
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
subroutine RIGHT
|
||||
|
||||
real ChangeMe
|
||||
|
||||
end subroutine RIGHT
|
||||
5
third_party/git/t/t4018/fortran-module
vendored
Normal file
5
third_party/git/t/t4018/fortran-module
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
module RIGHT
|
||||
|
||||
use ChangeMe
|
||||
|
||||
end module RIGHT
|
||||
13
third_party/git/t/t4018/fortran-module-procedure
vendored
Normal file
13
third_party/git/t/t4018/fortran-module-procedure
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
module RIGHT
|
||||
|
||||
implicit none
|
||||
private
|
||||
|
||||
interface letters ! generic interface
|
||||
module procedure aaaa, &
|
||||
bbbb, &
|
||||
ChangeMe, &
|
||||
dddd
|
||||
end interface
|
||||
|
||||
end module RIGHT
|
||||
5
third_party/git/t/t4018/fortran-program
vendored
Normal file
5
third_party/git/t/t4018/fortran-program
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
program RIGHT
|
||||
|
||||
call ChangeMe
|
||||
|
||||
end program RIGHT
|
||||
6
third_party/git/t/t4018/markdown-heading-indented
vendored
Normal file
6
third_party/git/t/t4018/markdown-heading-indented
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
Indented headings are allowed, as long as the indent is no more than 3 spaces.
|
||||
|
||||
### RIGHT
|
||||
|
||||
- something
|
||||
- ChangeMe
|
||||
17
third_party/git/t/t4018/markdown-heading-non-headings
vendored
Normal file
17
third_party/git/t/t4018/markdown-heading-non-headings
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
Headings can be right next to other lines of the file:
|
||||
# RIGHT
|
||||
Indents of four or more spaces make a code block:
|
||||
|
||||
# code comment, not heading
|
||||
|
||||
If there's no space after the final hash, it's not a heading:
|
||||
|
||||
#hashtag
|
||||
|
||||
Sequences of more than 6 hashes don't make a heading:
|
||||
|
||||
####### over-enthusiastic heading
|
||||
|
||||
So the detected heading should be right up at the start of this file.
|
||||
|
||||
ChangeMe
|
||||
4
third_party/git/t/t4018/python-async-def
vendored
Normal file
4
third_party/git/t/t4018/python-async-def
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
async def RIGHT(pi: int = 3.14):
|
||||
while True:
|
||||
break
|
||||
return ChangeMe()
|
||||
4
third_party/git/t/t4018/python-class
vendored
Normal file
4
third_party/git/t/t4018/python-class
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
class RIGHT(int, str):
|
||||
# comment
|
||||
# another comment
|
||||
# ChangeMe
|
||||
4
third_party/git/t/t4018/python-def
vendored
Normal file
4
third_party/git/t/t4018/python-def
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
def RIGHT(pi: int = 3.14):
|
||||
while True:
|
||||
break
|
||||
return ChangeMe()
|
||||
7
third_party/git/t/t4018/python-indented-async-def
vendored
Normal file
7
third_party/git/t/t4018/python-indented-async-def
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
class Foo:
|
||||
async def RIGHT(self, x: int):
|
||||
return [
|
||||
1,
|
||||
2,
|
||||
ChangeMe,
|
||||
]
|
||||
5
third_party/git/t/t4018/python-indented-class
vendored
Normal file
5
third_party/git/t/t4018/python-indented-class
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
if TYPE_CHECKING:
|
||||
class RIGHT:
|
||||
# comment
|
||||
# another comment
|
||||
# ChangeMe
|
||||
7
third_party/git/t/t4018/python-indented-def
vendored
Normal file
7
third_party/git/t/t4018/python-indented-def
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
class Foo:
|
||||
def RIGHT(self, x: int):
|
||||
return [
|
||||
1,
|
||||
2,
|
||||
ChangeMe,
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue