tvl-depot/third_party/git/t/t4018
Vincent Ambo 93ba78d6f4 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.
2020-05-26 00:06:52 +01:00
..
cpp-c++-function merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
cpp-class-constructor merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
cpp-class-constructor-mem-init merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
cpp-class-definition merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
cpp-class-definition-derived merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
cpp-class-destructor merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
cpp-function-returning-global-type merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
cpp-function-returning-nested merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
cpp-function-returning-pointer merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
cpp-function-returning-reference merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
cpp-gnu-style-function merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
cpp-namespace-definition merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
cpp-operator-definition merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
cpp-skip-access-specifiers merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
cpp-skip-comment-block merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
cpp-skip-labels merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
cpp-struct-definition merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
cpp-struct-single-line merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
cpp-template-function-definition merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
cpp-union-definition merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
cpp-void-c-function merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
css-brace-in-col-1 merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
css-colon-eol merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
css-colon-selector merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
css-common merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
css-long-selector-list merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
css-prop-sans-indent merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
css-short-selector-list merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
css-trailing-space merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
custom1-pattern merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
custom2-match-to-end-of-line merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
custom3-alternation-in-pattern merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
fountain-scene merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
golang-complex-function merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
golang-func merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
golang-interface merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
golang-long-func merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
golang-struct merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
java-class-member-function merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
matlab-class-definition merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
matlab-function merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
matlab-octave-section-1 merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
matlab-octave-section-2 merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
matlab-section merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
perl-skip-end-of-heredoc merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
perl-skip-forward-decl merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
perl-skip-sub-in-pod merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
perl-sub-definition merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
perl-sub-definition-kr-brace merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
php-abstract-class merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
php-class merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
php-final-class merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
php-function merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
php-interface merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
php-method merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
php-trait merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
README merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
rust-fn merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
rust-impl merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
rust-struct merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00
rust-trait merge(third_party/git): Merge squashed git subtree at v2.23.0 2020-01-11 23:40:29 +00:00

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.