merge(3p/git): Merge git upstream at v2.26.2
This commit is contained in:
commit
5229c9b232
1006 changed files with 149006 additions and 60819 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
|
||||
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