diff options
author | Vincent Ambo <mail@tazj.in> | 2021-09-21T10·03+0300 |
---|---|---|
committer | Vincent Ambo <mail@tazj.in> | 2021-09-21T11·29+0300 |
commit | 43b1791ec601732ac31195df96781a848360a9ac (patch) | |
tree | daae8d638343295d2f1f7da955e556ef4c958864 /third_party/git/t/t4018 | |
parent | 2d8e7dc9d9c38127ec4ebd13aee8e8f586a43318 (diff) |
chore(3p/git): Unvendor git and track patches instead r/2903
This was vendored a long time ago under the expectation that keeping it in sync with cgit would be easier this way, but it has proven not to be a big issue. On the other hand, a vendored copy of git is an annoying maintenance burden. It is much easier to rebase the single (dottime) patch that we have. This removes the vendored copy of git and instead passes the git source code to cgit via `pkgs.srcOnly`, which includes the applied patch so that cgit can continue rendering dottime. Change-Id: If31f62dea7ce688fd1b9050204e9378019775f2b
Diffstat (limited to 'third_party/git/t/t4018')
99 files changed, 0 insertions, 657 deletions
diff --git a/third_party/git/t/t4018/README b/third_party/git/t/t4018/README deleted file mode 100644 index 283e01cca1ac..000000000000 --- a/third_party/git/t/t4018/README +++ /dev/null @@ -1,18 +0,0 @@ -How to write RIGHT test cases -============================= - -Insert the word "ChangeMe" (exactly this form) at a distance of -at least two lines from the line that must appear in the hunk header. - -The text that must appear in the hunk header must contain the word -"right", but in all upper-case, like in the title above. - -To mark a test case that highlights a malfunction, insert the word -BROKEN in all lower-case somewhere in the file. - -This text is a bit twisted and out of order, but it is itself a -test case for the default hunk header pattern. Know what you are doing -if you change it. - -BTW, this tests that the head line goes to the hunk header, not the line -of equal signs. diff --git a/third_party/git/t/t4018/cpp-c++-function b/third_party/git/t/t4018/cpp-c++-function deleted file mode 100644 index 9ee6bbef5573..000000000000 --- a/third_party/git/t/t4018/cpp-c++-function +++ /dev/null @@ -1,4 +0,0 @@ -Item RIGHT::DoSomething( Args with_spaces ) -{ - ChangeMe; -} diff --git a/third_party/git/t/t4018/cpp-class-constructor b/third_party/git/t/t4018/cpp-class-constructor deleted file mode 100644 index ec4f115c250f..000000000000 --- a/third_party/git/t/t4018/cpp-class-constructor +++ /dev/null @@ -1,4 +0,0 @@ -Item::Item(int RIGHT) -{ - ChangeMe; -} diff --git a/third_party/git/t/t4018/cpp-class-constructor-mem-init b/third_party/git/t/t4018/cpp-class-constructor-mem-init deleted file mode 100644 index 49a69f37e161..000000000000 --- a/third_party/git/t/t4018/cpp-class-constructor-mem-init +++ /dev/null @@ -1,5 +0,0 @@ -Item::Item(int RIGHT) : - member(0) -{ - ChangeMe; -} diff --git a/third_party/git/t/t4018/cpp-class-definition b/third_party/git/t/t4018/cpp-class-definition deleted file mode 100644 index 11b61da3b75a..000000000000 --- a/third_party/git/t/t4018/cpp-class-definition +++ /dev/null @@ -1,4 +0,0 @@ -class RIGHT -{ - int ChangeMe; -}; diff --git a/third_party/git/t/t4018/cpp-class-definition-derived b/third_party/git/t/t4018/cpp-class-definition-derived deleted file mode 100644 index 3b98cd09ab5d..000000000000 --- a/third_party/git/t/t4018/cpp-class-definition-derived +++ /dev/null @@ -1,5 +0,0 @@ -class RIGHT : - public Baseclass -{ - int ChangeMe; -}; diff --git a/third_party/git/t/t4018/cpp-class-destructor b/third_party/git/t/t4018/cpp-class-destructor deleted file mode 100644 index 548766509651..000000000000 --- a/third_party/git/t/t4018/cpp-class-destructor +++ /dev/null @@ -1,4 +0,0 @@ -RIGHT::~RIGHT() -{ - ChangeMe; -} diff --git a/third_party/git/t/t4018/cpp-function-returning-global-type b/third_party/git/t/t4018/cpp-function-returning-global-type deleted file mode 100644 index 1084d5990efa..000000000000 --- a/third_party/git/t/t4018/cpp-function-returning-global-type +++ /dev/null @@ -1,4 +0,0 @@ -::Item get::it::RIGHT() -{ - ChangeMe; -} diff --git a/third_party/git/t/t4018/cpp-function-returning-nested b/third_party/git/t/t4018/cpp-function-returning-nested deleted file mode 100644 index d9750aa61a50..000000000000 --- a/third_party/git/t/t4018/cpp-function-returning-nested +++ /dev/null @@ -1,5 +0,0 @@ -get::Item get::it::RIGHT() -{ - ChangeMe; -} - diff --git a/third_party/git/t/t4018/cpp-function-returning-pointer b/third_party/git/t/t4018/cpp-function-returning-pointer deleted file mode 100644 index ef15657ea8fe..000000000000 --- a/third_party/git/t/t4018/cpp-function-returning-pointer +++ /dev/null @@ -1,4 +0,0 @@ -const char *get_it_RIGHT(char *ptr) -{ - ChangeMe; -} diff --git a/third_party/git/t/t4018/cpp-function-returning-reference b/third_party/git/t/t4018/cpp-function-returning-reference deleted file mode 100644 index 01b051df7015..000000000000 --- a/third_party/git/t/t4018/cpp-function-returning-reference +++ /dev/null @@ -1,4 +0,0 @@ -string& get::it::RIGHT(char *ptr) -{ - ChangeMe; -} diff --git a/third_party/git/t/t4018/cpp-gnu-style-function b/third_party/git/t/t4018/cpp-gnu-style-function deleted file mode 100644 index 08c7c7565ae2..000000000000 --- a/third_party/git/t/t4018/cpp-gnu-style-function +++ /dev/null @@ -1,5 +0,0 @@ -const char * -RIGHT(int arg) -{ - ChangeMe; -} diff --git a/third_party/git/t/t4018/cpp-namespace-definition b/third_party/git/t/t4018/cpp-namespace-definition deleted file mode 100644 index 6749980241cc..000000000000 --- a/third_party/git/t/t4018/cpp-namespace-definition +++ /dev/null @@ -1,4 +0,0 @@ -namespace RIGHT -{ - ChangeMe; -} diff --git a/third_party/git/t/t4018/cpp-operator-definition b/third_party/git/t/t4018/cpp-operator-definition deleted file mode 100644 index 1acd82715921..000000000000 --- a/third_party/git/t/t4018/cpp-operator-definition +++ /dev/null @@ -1,4 +0,0 @@ -Value operator+(Value LEFT, Value RIGHT) -{ - ChangeMe; -} diff --git a/third_party/git/t/t4018/cpp-skip-access-specifiers b/third_party/git/t/t4018/cpp-skip-access-specifiers deleted file mode 100644 index 4d4a9dbb9db5..000000000000 --- a/third_party/git/t/t4018/cpp-skip-access-specifiers +++ /dev/null @@ -1,8 +0,0 @@ -class RIGHT : public Baseclass -{ -public: -protected: -private: - void DoSomething(); - int ChangeMe; -}; diff --git a/third_party/git/t/t4018/cpp-skip-comment-block b/third_party/git/t/t4018/cpp-skip-comment-block deleted file mode 100644 index 3800b9967a5c..000000000000 --- a/third_party/git/t/t4018/cpp-skip-comment-block +++ /dev/null @@ -1,9 +0,0 @@ -struct item RIGHT(int i) -// Do not -// pick up -/* these -** comments. -*/ -{ - ChangeMe; -} diff --git a/third_party/git/t/t4018/cpp-skip-labels b/third_party/git/t/t4018/cpp-skip-labels deleted file mode 100644 index b9c10aba225d..000000000000 --- a/third_party/git/t/t4018/cpp-skip-labels +++ /dev/null @@ -1,8 +0,0 @@ -void RIGHT (void) -{ -repeat: // C++ comment -next: /* C comment */ - do_something(); - - ChangeMe; -} diff --git a/third_party/git/t/t4018/cpp-struct-definition b/third_party/git/t/t4018/cpp-struct-definition deleted file mode 100644 index 521c59fd1513..000000000000 --- a/third_party/git/t/t4018/cpp-struct-definition +++ /dev/null @@ -1,9 +0,0 @@ -struct RIGHT { - unsigned - /* this bit field looks like a label and should not be picked up */ - decoy_bitfield: 2, - more : 1; - int filler; - - int ChangeMe; -}; diff --git a/third_party/git/t/t4018/cpp-struct-single-line b/third_party/git/t/t4018/cpp-struct-single-line deleted file mode 100644 index a0de5fb800fe..000000000000 --- a/third_party/git/t/t4018/cpp-struct-single-line +++ /dev/null @@ -1,7 +0,0 @@ -void wrong() -{ -} - -struct RIGHT_iterator_tag {}; - -int ChangeMe; diff --git a/third_party/git/t/t4018/cpp-template-function-definition b/third_party/git/t/t4018/cpp-template-function-definition deleted file mode 100644 index 0cdf5ba5bd43..000000000000 --- a/third_party/git/t/t4018/cpp-template-function-definition +++ /dev/null @@ -1,4 +0,0 @@ -template<class T> int RIGHT(T arg) -{ - ChangeMe; -} diff --git a/third_party/git/t/t4018/cpp-union-definition b/third_party/git/t/t4018/cpp-union-definition deleted file mode 100644 index 7ec94df69734..000000000000 --- a/third_party/git/t/t4018/cpp-union-definition +++ /dev/null @@ -1,4 +0,0 @@ -union RIGHT { - double v; - int ChangeMe; -}; diff --git a/third_party/git/t/t4018/cpp-void-c-function b/third_party/git/t/t4018/cpp-void-c-function deleted file mode 100644 index 153081e872c5..000000000000 --- a/third_party/git/t/t4018/cpp-void-c-function +++ /dev/null @@ -1,4 +0,0 @@ -void RIGHT (void) -{ - ChangeMe; -} diff --git a/third_party/git/t/t4018/css-brace-in-col-1 b/third_party/git/t/t4018/css-brace-in-col-1 deleted file mode 100644 index 7831577506a9..000000000000 --- a/third_party/git/t/t4018/css-brace-in-col-1 +++ /dev/null @@ -1,5 +0,0 @@ -RIGHT label.control-label -{ - margin-top: 10px!important; - border : 10px ChangeMe #C6C6C6; -} diff --git a/third_party/git/t/t4018/css-colon-eol b/third_party/git/t/t4018/css-colon-eol deleted file mode 100644 index 5a30553d2918..000000000000 --- a/third_party/git/t/t4018/css-colon-eol +++ /dev/null @@ -1,4 +0,0 @@ -RIGHT h1 { -color: -ChangeMe; -} diff --git a/third_party/git/t/t4018/css-colon-selector b/third_party/git/t/t4018/css-colon-selector deleted file mode 100644 index c6d71fb42de6..000000000000 --- a/third_party/git/t/t4018/css-colon-selector +++ /dev/null @@ -1,5 +0,0 @@ -RIGHT a:hover { - margin-top: - 10px!important; - border : 10px ChangeMe #C6C6C6; -} diff --git a/third_party/git/t/t4018/css-common b/third_party/git/t/t4018/css-common deleted file mode 100644 index 84ed754b33b6..000000000000 --- a/third_party/git/t/t4018/css-common +++ /dev/null @@ -1,4 +0,0 @@ -RIGHT label.control-label { - margin-top: 10px!important; - border : 10px ChangeMe #C6C6C6; -} diff --git a/third_party/git/t/t4018/css-long-selector-list b/third_party/git/t/t4018/css-long-selector-list deleted file mode 100644 index 7ccd25d9ed62..000000000000 --- a/third_party/git/t/t4018/css-long-selector-list +++ /dev/null @@ -1,6 +0,0 @@ -p.header, -label.control-label, -div ul#RIGHT { - margin-top: 10px!important; - border : 10px ChangeMe #C6C6C6; -} diff --git a/third_party/git/t/t4018/css-prop-sans-indent b/third_party/git/t/t4018/css-prop-sans-indent deleted file mode 100644 index a9e3c86b3c96..000000000000 --- a/third_party/git/t/t4018/css-prop-sans-indent +++ /dev/null @@ -1,5 +0,0 @@ -RIGHT, label.control-label { -margin-top: 10px!important; -padding: 0; -border : 10px ChangeMe #C6C6C6; -} diff --git a/third_party/git/t/t4018/css-short-selector-list b/third_party/git/t/t4018/css-short-selector-list deleted file mode 100644 index 6a0bdee336b0..000000000000 --- a/third_party/git/t/t4018/css-short-selector-list +++ /dev/null @@ -1,4 +0,0 @@ -label.control, div ul#RIGHT { - margin-top: 10px!important; - border : 10px ChangeMe #C6C6C6; -} diff --git a/third_party/git/t/t4018/css-trailing-space b/third_party/git/t/t4018/css-trailing-space deleted file mode 100644 index 32b5606c70f7..000000000000 --- a/third_party/git/t/t4018/css-trailing-space +++ /dev/null @@ -1,5 +0,0 @@ -RIGHT label.control-label { - margin:10px; - padding:10px; - border : 10px ChangeMe #C6C6C6; -} diff --git a/third_party/git/t/t4018/custom1-pattern b/third_party/git/t/t4018/custom1-pattern deleted file mode 100644 index e8fd59f884d9..000000000000 --- a/third_party/git/t/t4018/custom1-pattern +++ /dev/null @@ -1,17 +0,0 @@ -public class Beer -{ - int special, RIGHT; - public static void main(String args[]) - { - String s=" "; - for(int x = 99; x > 0; x--) - { - System.out.print(x + " bottles of beer on the wall " - + x + " bottles of beer\n" // ChangeMe - + "Take one down, pass it around, " + (x - 1) - + " bottles of beer on the wall.\n"); - } - System.out.print("Go to the store, buy some more,\n" - + "99 bottles of beer on the wall.\n"); - } -} diff --git a/third_party/git/t/t4018/custom2-match-to-end-of-line b/third_party/git/t/t4018/custom2-match-to-end-of-line deleted file mode 100644 index f88ac318b796..000000000000 --- a/third_party/git/t/t4018/custom2-match-to-end-of-line +++ /dev/null @@ -1,8 +0,0 @@ -public class RIGHT_Beer -{ - int special; - public static void main(String args[]) - { - System.out.print("ChangeMe"); - } -} diff --git a/third_party/git/t/t4018/custom3-alternation-in-pattern b/third_party/git/t/t4018/custom3-alternation-in-pattern deleted file mode 100644 index 5f3769c64fc3..000000000000 --- a/third_party/git/t/t4018/custom3-alternation-in-pattern +++ /dev/null @@ -1,17 +0,0 @@ -public class Beer -{ - int special; - public static void main(String RIGHT[]) - { - String s=" "; - for(int x = 99; x > 0; x--) - { - System.out.print(x + " bottles of beer on the wall " - + x + " bottles of beer\n" // ChangeMe - + "Take one down, pass it around, " + (x - 1) - + " bottles of beer on the wall.\n"); - } - System.out.print("Go to the store, buy some more,\n" - + "99 bottles of beer on the wall.\n"); - } -} diff --git a/third_party/git/t/t4018/dts-labels b/third_party/git/t/t4018/dts-labels deleted file mode 100644 index b21ef8737bb8..000000000000 --- a/third_party/git/t/t4018/dts-labels +++ /dev/null @@ -1,9 +0,0 @@ -/ { - label_1: node1@ff00 { - label2: RIGHT { - vendor,some-property; - - ChangeMe = <0x45-30>; - }; - }; -}; diff --git a/third_party/git/t/t4018/dts-node-unitless b/third_party/git/t/t4018/dts-node-unitless deleted file mode 100644 index c5287d91416e..000000000000 --- a/third_party/git/t/t4018/dts-node-unitless +++ /dev/null @@ -1,8 +0,0 @@ -/ { - label_1: node1 { - RIGHT { - prop-array = <1>, <4>; - ChangeMe = <0xffeedd00>; - }; - }; -}; diff --git a/third_party/git/t/t4018/dts-nodes b/third_party/git/t/t4018/dts-nodes deleted file mode 100644 index 5a4334bb1645..000000000000 --- a/third_party/git/t/t4018/dts-nodes +++ /dev/null @@ -1,8 +0,0 @@ -/ { - label_1: node1@ff00 { - RIGHT@deadf00,4000 { - #size-cells = <1>; - ChangeMe = <0xffeedd00>; - }; - }; -}; diff --git a/third_party/git/t/t4018/dts-nodes-boolean-prop b/third_party/git/t/t4018/dts-nodes-boolean-prop deleted file mode 100644 index afc6b5b404e4..000000000000 --- a/third_party/git/t/t4018/dts-nodes-boolean-prop +++ /dev/null @@ -1,9 +0,0 @@ -/ { - label_1: node1@ff00 { - RIGHT@deadf00,4000 { - boolean-prop1; - - ChangeMe; - }; - }; -}; diff --git a/third_party/git/t/t4018/dts-nodes-comment1 b/third_party/git/t/t4018/dts-nodes-comment1 deleted file mode 100644 index 559dfce9b308..000000000000 --- a/third_party/git/t/t4018/dts-nodes-comment1 +++ /dev/null @@ -1,8 +0,0 @@ -/ { - label_1: node1@ff00 { - RIGHT@deadf00,4000 /* &a comment */ { - #size-cells = <1>; - ChangeMe = <0xffeedd00>; - }; - }; -}; diff --git a/third_party/git/t/t4018/dts-nodes-comment2 b/third_party/git/t/t4018/dts-nodes-comment2 deleted file mode 100644 index 27e9718b31cf..000000000000 --- a/third_party/git/t/t4018/dts-nodes-comment2 +++ /dev/null @@ -1,8 +0,0 @@ -/ { - label_1: node1@ff00 { - RIGHT@deadf00,4000 { /* a trailing comment */ - #size-cells = <1>; - ChangeMe = <0xffeedd00>; - }; - }; -}; diff --git a/third_party/git/t/t4018/dts-nodes-multiline-prop b/third_party/git/t/t4018/dts-nodes-multiline-prop deleted file mode 100644 index 072d58b69dc2..000000000000 --- a/third_party/git/t/t4018/dts-nodes-multiline-prop +++ /dev/null @@ -1,13 +0,0 @@ -/ { - label_1: node1@ff00 { - RIGHT@deadf00,4000 { - multilineprop = <3>, - <4>, - <5>, - <6>, - <7>; - - ChangeMe = <0xffeedd00>; - }; - }; -}; diff --git a/third_party/git/t/t4018/dts-reference b/third_party/git/t/t4018/dts-reference deleted file mode 100644 index 8f0c87d8637f..000000000000 --- a/third_party/git/t/t4018/dts-reference +++ /dev/null @@ -1,9 +0,0 @@ -&label_1 { - TEST = <455>; -}; - -&RIGHT { - vendor,some-property; - - ChangeMe = <0x45-30>; -}; diff --git a/third_party/git/t/t4018/dts-root b/third_party/git/t/t4018/dts-root deleted file mode 100644 index 4353b8220c91..000000000000 --- a/third_party/git/t/t4018/dts-root +++ /dev/null @@ -1,5 +0,0 @@ -/ { RIGHT /* Technically just supposed to be a slash and brace */ - #size-cells = <1>; - - ChangeMe = <0xffeedd00>; -}; diff --git a/third_party/git/t/t4018/dts-root-comment b/third_party/git/t/t4018/dts-root-comment deleted file mode 100644 index 333a625c7007..000000000000 --- a/third_party/git/t/t4018/dts-root-comment +++ /dev/null @@ -1,8 +0,0 @@ -/ { RIGHT /* Technically just supposed to be a slash and brace */ - #size-cells = <1>; - - /* This comment should be ignored */ - - some-property = <40+2>; - ChangeMe = <0xffeedd00>; -}; diff --git a/third_party/git/t/t4018/elixir-do-not-pick-end b/third_party/git/t/t4018/elixir-do-not-pick-end deleted file mode 100644 index fae08ba7e8cb..000000000000 --- a/third_party/git/t/t4018/elixir-do-not-pick-end +++ /dev/null @@ -1,5 +0,0 @@ -defmodule RIGHT do -end -# -# -# ChangeMe; do not pick up 'end' line diff --git a/third_party/git/t/t4018/elixir-ex-unit-test b/third_party/git/t/t4018/elixir-ex-unit-test deleted file mode 100644 index 0560a2b69718..000000000000 --- a/third_party/git/t/t4018/elixir-ex-unit-test +++ /dev/null @@ -1,6 +0,0 @@ -defmodule Test do - test "RIGHT" do - assert true == true - assert ChangeMe - end -end diff --git a/third_party/git/t/t4018/elixir-function b/third_party/git/t/t4018/elixir-function deleted file mode 100644 index d452f495a7e0..000000000000 --- a/third_party/git/t/t4018/elixir-function +++ /dev/null @@ -1,5 +0,0 @@ -def function(RIGHT, arg) do - # comment - # comment - ChangeMe -end diff --git a/third_party/git/t/t4018/elixir-macro b/third_party/git/t/t4018/elixir-macro deleted file mode 100644 index 4f925e9ad463..000000000000 --- a/third_party/git/t/t4018/elixir-macro +++ /dev/null @@ -1,5 +0,0 @@ -defmacro foo(RIGHT) do - # Code - # Code - ChangeMe -end diff --git a/third_party/git/t/t4018/elixir-module b/third_party/git/t/t4018/elixir-module deleted file mode 100644 index 91a4e7aa2000..000000000000 --- a/third_party/git/t/t4018/elixir-module +++ /dev/null @@ -1,9 +0,0 @@ -defmodule RIGHT do - @moduledoc """ - Foo bar - """ - - def ChangeMe(a) where is_map(a) do - a - end -end diff --git a/third_party/git/t/t4018/elixir-module-func b/third_party/git/t/t4018/elixir-module-func deleted file mode 100644 index c9910d067513..000000000000 --- a/third_party/git/t/t4018/elixir-module-func +++ /dev/null @@ -1,8 +0,0 @@ -defmodule Foo do - def fun(RIGHT) do - # Code - # Code - # Code - ChangeMe - end -end diff --git a/third_party/git/t/t4018/elixir-nested-module b/third_party/git/t/t4018/elixir-nested-module deleted file mode 100644 index 771ebc5c42a9..000000000000 --- a/third_party/git/t/t4018/elixir-nested-module +++ /dev/null @@ -1,9 +0,0 @@ -defmodule MyApp.RIGHT do - @moduledoc """ - Foo bar - """ - - def ChangeMe(a) where is_map(a) do - a - end -end diff --git a/third_party/git/t/t4018/elixir-private-function b/third_party/git/t/t4018/elixir-private-function deleted file mode 100644 index 1aabe33b7a9a..000000000000 --- a/third_party/git/t/t4018/elixir-private-function +++ /dev/null @@ -1,5 +0,0 @@ -defp function(RIGHT, arg) do - # comment - # comment - ChangeMe -end diff --git a/third_party/git/t/t4018/elixir-protocol b/third_party/git/t/t4018/elixir-protocol deleted file mode 100644 index 7d9173691e32..000000000000 --- a/third_party/git/t/t4018/elixir-protocol +++ /dev/null @@ -1,6 +0,0 @@ -defprotocol RIGHT do - @doc """ - Calculates the size (and not the length!) of a data structure - """ - def size(data, ChangeMe) -end diff --git a/third_party/git/t/t4018/elixir-protocol-implementation b/third_party/git/t/t4018/elixir-protocol-implementation deleted file mode 100644 index f9234bbfc489..000000000000 --- a/third_party/git/t/t4018/elixir-protocol-implementation +++ /dev/null @@ -1,5 +0,0 @@ -defimpl RIGHT do - # Docs - # Docs - def foo(ChangeMe), do: :ok -end diff --git a/third_party/git/t/t4018/fortran-block-data b/third_party/git/t/t4018/fortran-block-data deleted file mode 100644 index 63d4e21d0ad1..000000000000 --- a/third_party/git/t/t4018/fortran-block-data +++ /dev/null @@ -1,5 +0,0 @@ - BLOCK DATA RIGHT - - COMMON /B/ C, ChangeMe - DATA C, ChangeMe / 2.0, 6.0 / - END diff --git a/third_party/git/t/t4018/fortran-comment b/third_party/git/t/t4018/fortran-comment deleted file mode 100644 index 7b10d1765885..000000000000 --- a/third_party/git/t/t4018/fortran-comment +++ /dev/null @@ -1,13 +0,0 @@ - module a - - contains - - ! subroutine wrong - subroutine RIGHT - ! subroutine wrong - - real ChangeMe - - end subroutine RIGHT - - end module a diff --git a/third_party/git/t/t4018/fortran-comment-keyword b/third_party/git/t/t4018/fortran-comment-keyword deleted file mode 100644 index e9206a53799d..000000000000 --- a/third_party/git/t/t4018/fortran-comment-keyword +++ /dev/null @@ -1,14 +0,0 @@ - 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 diff --git a/third_party/git/t/t4018/fortran-comment-legacy b/third_party/git/t/t4018/fortran-comment-legacy deleted file mode 100644 index 53cd062c1e5f..000000000000 --- a/third_party/git/t/t4018/fortran-comment-legacy +++ /dev/null @@ -1,13 +0,0 @@ - module a - - contains - -C subroutine wrong - subroutine RIGHT -C subroutine wrong - - real ChangeMe - - end subroutine RIGHT - - end module a diff --git a/third_party/git/t/t4018/fortran-comment-legacy-star b/third_party/git/t/t4018/fortran-comment-legacy-star deleted file mode 100644 index 2cbcdc3d8ab9..000000000000 --- a/third_party/git/t/t4018/fortran-comment-legacy-star +++ /dev/null @@ -1,13 +0,0 @@ - module a - - contains - -* subroutine wrong - subroutine RIGHT -* subroutine wrong - - real ChangeMe - - end subroutine RIGHT - - end module a diff --git a/third_party/git/t/t4018/fortran-external-function b/third_party/git/t/t4018/fortran-external-function deleted file mode 100644 index 5a2d85d3aa41..000000000000 --- a/third_party/git/t/t4018/fortran-external-function +++ /dev/null @@ -1,9 +0,0 @@ -function RIGHT(a, b) result(c) - -integer, intent(in) :: ChangeMe -integer, intent(in) :: b -integer, intent(out) :: c - -c = a+b - -end function RIGHT diff --git a/third_party/git/t/t4018/fortran-external-subroutine b/third_party/git/t/t4018/fortran-external-subroutine deleted file mode 100644 index 4ce85fea1324..000000000000 --- a/third_party/git/t/t4018/fortran-external-subroutine +++ /dev/null @@ -1,5 +0,0 @@ -subroutine RIGHT - -real ChangeMe - -end subroutine RIGHT diff --git a/third_party/git/t/t4018/fortran-module b/third_party/git/t/t4018/fortran-module deleted file mode 100644 index c4b737dac3f1..000000000000 --- a/third_party/git/t/t4018/fortran-module +++ /dev/null @@ -1,5 +0,0 @@ -module RIGHT - -use ChangeMe - -end module RIGHT diff --git a/third_party/git/t/t4018/fortran-module-procedure b/third_party/git/t/t4018/fortran-module-procedure deleted file mode 100644 index 1ce6d854c22b..000000000000 --- a/third_party/git/t/t4018/fortran-module-procedure +++ /dev/null @@ -1,13 +0,0 @@ - module RIGHT - - implicit none - private - - interface letters ! generic interface - module procedure aaaa, & - bbbb, & - ChangeMe, & - dddd - end interface - -end module RIGHT diff --git a/third_party/git/t/t4018/fortran-program b/third_party/git/t/t4018/fortran-program deleted file mode 100644 index 4616895e4b56..000000000000 --- a/third_party/git/t/t4018/fortran-program +++ /dev/null @@ -1,5 +0,0 @@ -program RIGHT - -call ChangeMe - -end program RIGHT diff --git a/third_party/git/t/t4018/fountain-scene b/third_party/git/t/t4018/fountain-scene deleted file mode 100644 index 6b3257d68038..000000000000 --- a/third_party/git/t/t4018/fountain-scene +++ /dev/null @@ -1,4 +0,0 @@ -EXT. STREET RIGHT OUTSIDE - DAY - -CHARACTER -You didn't say the magic phrase, "ChangeMe". diff --git a/third_party/git/t/t4018/golang-complex-function b/third_party/git/t/t4018/golang-complex-function deleted file mode 100644 index e057dcefed6a..000000000000 --- a/third_party/git/t/t4018/golang-complex-function +++ /dev/null @@ -1,8 +0,0 @@ -type Test struct { - a Type -} - -func (t *Test) RIGHT(a Type) (Type, error) { - t.a = a - return ChangeMe, nil -} diff --git a/third_party/git/t/t4018/golang-func b/third_party/git/t/t4018/golang-func deleted file mode 100644 index 8e9c9ac7c3fd..000000000000 --- a/third_party/git/t/t4018/golang-func +++ /dev/null @@ -1,4 +0,0 @@ -func RIGHT() { - a := 5 - b := ChangeMe -} diff --git a/third_party/git/t/t4018/golang-interface b/third_party/git/t/t4018/golang-interface deleted file mode 100644 index 553bedec9628..000000000000 --- a/third_party/git/t/t4018/golang-interface +++ /dev/null @@ -1,4 +0,0 @@ -type RIGHT interface { - a() Type - b() ChangeMe -} diff --git a/third_party/git/t/t4018/golang-long-func b/third_party/git/t/t4018/golang-long-func deleted file mode 100644 index ac3a77b5c41f..000000000000 --- a/third_party/git/t/t4018/golang-long-func +++ /dev/null @@ -1,5 +0,0 @@ -func RIGHT(aVeryVeryVeryLongVariableName AVeryVeryVeryLongType, - anotherLongVariableName AnotherLongType) { - a := 5 - b := ChangeMe -} diff --git a/third_party/git/t/t4018/golang-struct b/third_party/git/t/t4018/golang-struct deleted file mode 100644 index 5deda77feec7..000000000000 --- a/third_party/git/t/t4018/golang-struct +++ /dev/null @@ -1,4 +0,0 @@ -type RIGHT struct { - a Type - b ChangeMe -} diff --git a/third_party/git/t/t4018/java-class-member-function b/third_party/git/t/t4018/java-class-member-function deleted file mode 100644 index 298bc7a71b29..000000000000 --- a/third_party/git/t/t4018/java-class-member-function +++ /dev/null @@ -1,8 +0,0 @@ -public class Beer -{ - int special; - public static void main(String RIGHT[]) - { - System.out.print("ChangeMe"); - } -} diff --git a/third_party/git/t/t4018/markdown-heading-indented b/third_party/git/t/t4018/markdown-heading-indented deleted file mode 100644 index 1991c2bd4569..000000000000 --- a/third_party/git/t/t4018/markdown-heading-indented +++ /dev/null @@ -1,6 +0,0 @@ -Indented headings are allowed, as long as the indent is no more than 3 spaces. - - ### RIGHT - -- something -- ChangeMe diff --git a/third_party/git/t/t4018/markdown-heading-non-headings b/third_party/git/t/t4018/markdown-heading-non-headings deleted file mode 100644 index c479c1a3f1e2..000000000000 --- a/third_party/git/t/t4018/markdown-heading-non-headings +++ /dev/null @@ -1,17 +0,0 @@ -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 diff --git a/third_party/git/t/t4018/matlab-class-definition b/third_party/git/t/t4018/matlab-class-definition deleted file mode 100644 index 84daedfb4e5e..000000000000 --- a/third_party/git/t/t4018/matlab-class-definition +++ /dev/null @@ -1,5 +0,0 @@ -classdef RIGHT - properties - ChangeMe - end -end diff --git a/third_party/git/t/t4018/matlab-function b/third_party/git/t/t4018/matlab-function deleted file mode 100644 index 897a9b13ff41..000000000000 --- a/third_party/git/t/t4018/matlab-function +++ /dev/null @@ -1,4 +0,0 @@ -function y = RIGHT() -x = 5; -y = ChangeMe + x; -end diff --git a/third_party/git/t/t4018/matlab-octave-section-1 b/third_party/git/t/t4018/matlab-octave-section-1 deleted file mode 100644 index 3bb6c4670e26..000000000000 --- a/third_party/git/t/t4018/matlab-octave-section-1 +++ /dev/null @@ -1,3 +0,0 @@ -%%% RIGHT section -# this is octave script -ChangeMe = 1; diff --git a/third_party/git/t/t4018/matlab-octave-section-2 b/third_party/git/t/t4018/matlab-octave-section-2 deleted file mode 100644 index ab2980f7f29f..000000000000 --- a/third_party/git/t/t4018/matlab-octave-section-2 +++ /dev/null @@ -1,3 +0,0 @@ -## RIGHT section -# this is octave script -ChangeMe = 1; diff --git a/third_party/git/t/t4018/matlab-section b/third_party/git/t/t4018/matlab-section deleted file mode 100644 index 5ea59a5de009..000000000000 --- a/third_party/git/t/t4018/matlab-section +++ /dev/null @@ -1,3 +0,0 @@ -%% RIGHT section -% this is understood by both matlab and octave -ChangeMe = 1; diff --git a/third_party/git/t/t4018/perl-skip-end-of-heredoc b/third_party/git/t/t4018/perl-skip-end-of-heredoc deleted file mode 100644 index c22d39b25670..000000000000 --- a/third_party/git/t/t4018/perl-skip-end-of-heredoc +++ /dev/null @@ -1,8 +0,0 @@ -sub RIGHTwithheredocument { - print <<"EOF" -decoy here-doc -EOF - # some lines of context - # to pad it out - print "ChangeMe\n"; -} diff --git a/third_party/git/t/t4018/perl-skip-forward-decl b/third_party/git/t/t4018/perl-skip-forward-decl deleted file mode 100644 index a98cb8bdad0b..000000000000 --- a/third_party/git/t/t4018/perl-skip-forward-decl +++ /dev/null @@ -1,10 +0,0 @@ -package RIGHT; - -use strict; -use warnings; -use parent qw(Exporter); -our @EXPORT_OK = qw(round finalround); - -sub other; # forward declaration - -# ChangeMe diff --git a/third_party/git/t/t4018/perl-skip-sub-in-pod b/third_party/git/t/t4018/perl-skip-sub-in-pod deleted file mode 100644 index e39f02462e27..000000000000 --- a/third_party/git/t/t4018/perl-skip-sub-in-pod +++ /dev/null @@ -1,18 +0,0 @@ -=head1 NAME - -Beer - subroutine to output fragment of a drinking song - -=head1 SYNOPSIS_RIGHT - - use Beer qw(round finalround); - - sub song { - for (my $i = 99; $i > 0; $i--) { - round $i; - } - finalround; - } - - ChangeMe; - -=cut diff --git a/third_party/git/t/t4018/perl-sub-definition b/third_party/git/t/t4018/perl-sub-definition deleted file mode 100644 index a507d1f64525..000000000000 --- a/third_party/git/t/t4018/perl-sub-definition +++ /dev/null @@ -1,4 +0,0 @@ -sub RIGHT { - my ($n) = @_; - print "ChangeMe"; -} diff --git a/third_party/git/t/t4018/perl-sub-definition-kr-brace b/third_party/git/t/t4018/perl-sub-definition-kr-brace deleted file mode 100644 index 330b3df1142a..000000000000 --- a/third_party/git/t/t4018/perl-sub-definition-kr-brace +++ /dev/null @@ -1,4 +0,0 @@ -sub RIGHT -{ - print "ChangeMe\n"; -} diff --git a/third_party/git/t/t4018/php-abstract-class b/third_party/git/t/t4018/php-abstract-class deleted file mode 100644 index 5213e1249465..000000000000 --- a/third_party/git/t/t4018/php-abstract-class +++ /dev/null @@ -1,4 +0,0 @@ -abstract class RIGHT -{ - const FOO = 'ChangeMe'; -} diff --git a/third_party/git/t/t4018/php-class b/third_party/git/t/t4018/php-class deleted file mode 100644 index 7785b6303c7c..000000000000 --- a/third_party/git/t/t4018/php-class +++ /dev/null @@ -1,4 +0,0 @@ -class RIGHT -{ - const FOO = 'ChangeMe'; -} diff --git a/third_party/git/t/t4018/php-final-class b/third_party/git/t/t4018/php-final-class deleted file mode 100644 index 69f571055291..000000000000 --- a/third_party/git/t/t4018/php-final-class +++ /dev/null @@ -1,4 +0,0 @@ -final class RIGHT -{ - const FOO = 'ChangeMe'; -} diff --git a/third_party/git/t/t4018/php-function b/third_party/git/t/t4018/php-function deleted file mode 100644 index 35717c51c3b9..000000000000 --- a/third_party/git/t/t4018/php-function +++ /dev/null @@ -1,4 +0,0 @@ -function RIGHT() -{ - return 'ChangeMe'; -} diff --git a/third_party/git/t/t4018/php-interface b/third_party/git/t/t4018/php-interface deleted file mode 100644 index 86b49ad5d9e3..000000000000 --- a/third_party/git/t/t4018/php-interface +++ /dev/null @@ -1,4 +0,0 @@ -interface RIGHT -{ - public function foo($ChangeMe); -} diff --git a/third_party/git/t/t4018/php-method b/third_party/git/t/t4018/php-method deleted file mode 100644 index 03af1a6d9d7e..000000000000 --- a/third_party/git/t/t4018/php-method +++ /dev/null @@ -1,7 +0,0 @@ -class Klass -{ - public static function RIGHT() - { - return 'ChangeMe'; - } -} diff --git a/third_party/git/t/t4018/php-trait b/third_party/git/t/t4018/php-trait deleted file mode 100644 index 65b8c82a6163..000000000000 --- a/third_party/git/t/t4018/php-trait +++ /dev/null @@ -1,7 +0,0 @@ -trait RIGHT -{ - public function foo($ChangeMe) - { - return 'foo'; - } -} diff --git a/third_party/git/t/t4018/python-async-def b/third_party/git/t/t4018/python-async-def deleted file mode 100644 index 87640e03d213..000000000000 --- a/third_party/git/t/t4018/python-async-def +++ /dev/null @@ -1,4 +0,0 @@ -async def RIGHT(pi: int = 3.14): - while True: - break - return ChangeMe() diff --git a/third_party/git/t/t4018/python-class b/third_party/git/t/t4018/python-class deleted file mode 100644 index ba9e741430f2..000000000000 --- a/third_party/git/t/t4018/python-class +++ /dev/null @@ -1,4 +0,0 @@ -class RIGHT(int, str): - # comment - # another comment - # ChangeMe diff --git a/third_party/git/t/t4018/python-def b/third_party/git/t/t4018/python-def deleted file mode 100644 index e50b31b0ad5e..000000000000 --- a/third_party/git/t/t4018/python-def +++ /dev/null @@ -1,4 +0,0 @@ -def RIGHT(pi: int = 3.14): - while True: - break - return ChangeMe() diff --git a/third_party/git/t/t4018/python-indented-async-def b/third_party/git/t/t4018/python-indented-async-def deleted file mode 100644 index f5d03258af4d..000000000000 --- a/third_party/git/t/t4018/python-indented-async-def +++ /dev/null @@ -1,7 +0,0 @@ -class Foo: - async def RIGHT(self, x: int): - return [ - 1, - 2, - ChangeMe, - ] diff --git a/third_party/git/t/t4018/python-indented-class b/third_party/git/t/t4018/python-indented-class deleted file mode 100644 index 19b4f35c4ca1..000000000000 --- a/third_party/git/t/t4018/python-indented-class +++ /dev/null @@ -1,5 +0,0 @@ -if TYPE_CHECKING: - class RIGHT: - # comment - # another comment - # ChangeMe diff --git a/third_party/git/t/t4018/python-indented-def b/third_party/git/t/t4018/python-indented-def deleted file mode 100644 index 208fbadd2be6..000000000000 --- a/third_party/git/t/t4018/python-indented-def +++ /dev/null @@ -1,7 +0,0 @@ -class Foo: - def RIGHT(self, x: int): - return [ - 1, - 2, - ChangeMe, - ] diff --git a/third_party/git/t/t4018/rust-fn b/third_party/git/t/t4018/rust-fn deleted file mode 100644 index cbe02155f113..000000000000 --- a/third_party/git/t/t4018/rust-fn +++ /dev/null @@ -1,5 +0,0 @@ -pub(self) fn RIGHT<T>(x: &[T]) where T: Debug { - let _ = x; - // a comment - let a = ChangeMe; -} diff --git a/third_party/git/t/t4018/rust-impl b/third_party/git/t/t4018/rust-impl deleted file mode 100644 index 09df3cd93b21..000000000000 --- a/third_party/git/t/t4018/rust-impl +++ /dev/null @@ -1,5 +0,0 @@ -impl<'a, T: AsRef<[u8]>> std::RIGHT for Git<'a> { - - pub fn ChangeMe(&self) -> () { - } -} diff --git a/third_party/git/t/t4018/rust-struct b/third_party/git/t/t4018/rust-struct deleted file mode 100644 index 76aff1c0d8ef..000000000000 --- a/third_party/git/t/t4018/rust-struct +++ /dev/null @@ -1,5 +0,0 @@ -#[derive(Debug)] -pub(super) struct RIGHT<'a> { - name: &'a str, - age: ChangeMe, -} diff --git a/third_party/git/t/t4018/rust-trait b/third_party/git/t/t4018/rust-trait deleted file mode 100644 index ea397f09ed16..000000000000 --- a/third_party/git/t/t4018/rust-trait +++ /dev/null @@ -1,5 +0,0 @@ -unsafe trait RIGHT<T> { - fn len(&self) -> u32; - fn ChangeMe(&self, n: u32) -> T; - fn iter<F>(&self, f: F) where F: Fn(T); -} |