Git Source Code Mirror - This is a publish-only repository and all pull requests are ignored. Please follow Documentation/SubmittingPatches procedure for any of your improvements. https://git-scm.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
git/t/t4018
Jaydeep P Das 09188ed930 userdiff: add builtin diff driver for kotlin language. 9 months ago
..
README userdiff: remove support for "broken" tests 2 years ago
bash-arithmetic-function userdiff: support Bash 2 years ago
bash-bashism-style-compact userdiff: support Bash 2 years ago
bash-bashism-style-function userdiff: support Bash 2 years ago
bash-bashism-style-whitespace userdiff: support Bash 2 years ago
bash-conditional-function userdiff: support Bash 2 years ago
bash-missing-parentheses userdiff: support Bash 2 years ago
bash-mixed-style-compact userdiff: support Bash 2 years ago
bash-mixed-style-function userdiff: support Bash 2 years ago
bash-nested-functions userdiff: support Bash 2 years ago
bash-other-characters userdiff: support Bash 2 years ago
bash-posix-style-compact userdiff: support Bash 2 years ago
bash-posix-style-function userdiff: support Bash 2 years ago
bash-posix-style-whitespace userdiff: support Bash 2 years ago
bash-subshell-function userdiff: support Bash 2 years ago
bash-trailing-comment userdiff: support Bash 2 years ago
cpp-c++-function
cpp-class-constructor
cpp-class-constructor-mem-init
cpp-class-definition
cpp-class-definition-derived
cpp-class-destructor
cpp-function-returning-global-type
cpp-function-returning-nested
cpp-function-returning-pointer
cpp-function-returning-reference
cpp-gnu-style-function
cpp-namespace-definition
cpp-operator-definition
cpp-skip-access-specifiers
cpp-skip-comment-block
cpp-skip-labels
cpp-struct-definition
cpp-struct-single-line
cpp-template-function-definition
cpp-union-definition
cpp-void-c-function
css-attribute-value-selector userdiff: expand detected chunk headers for css 2 years ago
css-block-level-@-statements userdiff: expand detected chunk headers for css 2 years ago
css-brace-in-col-1
css-class-selector userdiff: expand detected chunk headers for css 2 years ago
css-colon-eol
css-colon-selector
css-common
css-id-selector userdiff: expand detected chunk headers for css 2 years ago
css-long-selector-list
css-prop-sans-indent
css-root-selector userdiff: expand detected chunk headers for css 2 years ago
css-short-selector-list
css-trailing-space
custom1-pattern
custom2-match-to-end-of-line
custom3-alternation-in-pattern
dts-labels userdiff: add a builtin pattern for dts files 3 years ago
dts-node-unitless userdiff: add a builtin pattern for dts files 3 years ago
dts-nodes userdiff: add a builtin pattern for dts files 3 years ago
dts-nodes-boolean-prop userdiff: fix some corner cases in dts regex 3 years ago
dts-nodes-comment1 userdiff: add a builtin pattern for dts files 3 years ago
dts-nodes-comment2 userdiff: add a builtin pattern for dts files 3 years ago
dts-nodes-multiline-prop userdiff: fix some corner cases in dts regex 3 years ago
dts-reference userdiff: add a builtin pattern for dts files 3 years ago
dts-root userdiff: fix some corner cases in dts regex 3 years ago
dts-root-comment userdiff: fix some corner cases in dts regex 3 years ago
elixir-do-not-pick-end userdiff: add Elixir to supported userdiff languages 3 years ago
elixir-ex-unit-test userdiff: add Elixir to supported userdiff languages 3 years ago
elixir-function userdiff: add Elixir to supported userdiff languages 3 years ago
elixir-macro userdiff: add Elixir to supported userdiff languages 3 years ago
elixir-module userdiff: add Elixir to supported userdiff languages 3 years ago
elixir-module-func userdiff: add Elixir to supported userdiff languages 3 years ago
elixir-nested-module userdiff: add Elixir to supported userdiff languages 3 years ago
elixir-private-function userdiff: add Elixir to supported userdiff languages 3 years ago
elixir-protocol userdiff: add Elixir to supported userdiff languages 3 years ago
elixir-protocol-implementation userdiff: add Elixir to supported userdiff languages 3 years ago
fortran-block-data userdiff: add tests for Fortran xfuncname regex 2 years ago
fortran-comment userdiff: add tests for Fortran xfuncname regex 2 years ago
fortran-comment-keyword userdiff: improve Fortran xfuncname regex 2 years ago
fortran-comment-legacy userdiff: add tests for Fortran xfuncname regex 2 years ago
fortran-comment-legacy-star userdiff: add tests for Fortran xfuncname regex 2 years ago
fortran-external-function userdiff: add tests for Fortran xfuncname regex 2 years ago
fortran-external-subroutine userdiff: add tests for Fortran xfuncname regex 2 years ago
fortran-module userdiff: add tests for Fortran xfuncname regex 2 years ago
fortran-module-procedure userdiff: add tests for Fortran xfuncname regex 2 years ago
fortran-program userdiff: add tests for Fortran xfuncname regex 2 years ago
fountain-scene
golang-complex-function
golang-func
golang-interface
golang-long-func
golang-struct
java-class-member-function userdiff: improve java hunk header regex 1 year ago
java-enum-constant userdiff: improve java hunk header regex 1 year ago
java-method-return-generic-bounded userdiff: improve java hunk header regex 1 year ago
java-method-return-generic-wildcard userdiff: improve java hunk header regex 1 year ago
java-nested-field userdiff: improve java hunk header regex 1 year ago
kotlin-class userdiff: add builtin diff driver for kotlin language. 9 months ago
kotlin-enum-class userdiff: add builtin diff driver for kotlin language. 9 months ago
kotlin-fun userdiff: add builtin diff driver for kotlin language. 9 months ago
kotlin-inheritace-class userdiff: add builtin diff driver for kotlin language. 9 months ago
kotlin-inline-class userdiff: add builtin diff driver for kotlin language. 9 months ago
kotlin-interface userdiff: add builtin diff driver for kotlin language. 9 months ago
kotlin-nested-fun userdiff: add builtin diff driver for kotlin language. 9 months ago
kotlin-public-class userdiff: add builtin diff driver for kotlin language. 9 months ago
kotlin-sealed-class userdiff: add builtin diff driver for kotlin language. 9 months ago
markdown-heading-indented userdiff: support Markdown 3 years ago
markdown-heading-non-headings userdiff: support Markdown 3 years ago
matlab-class-definition userdiff: add Octave 4 years ago
matlab-function userdiff: add Octave 4 years ago
matlab-octave-section-1 userdiff: add Octave 4 years ago
matlab-octave-section-2 userdiff: add Octave 4 years ago
matlab-section userdiff: add Octave 4 years ago
perl-skip-end-of-heredoc
perl-skip-forward-decl
perl-skip-sub-in-pod
perl-sub-definition
perl-sub-definition-kr-brace
php-abstract-class userdiff: support new keywords in PHP hunk header 4 years ago
php-abstract-method userdiff: PHP: catch "abstract" and "final" functions 2 years ago
php-class
php-enum userdiff: support enum keyword in PHP hunk header 1 year ago
php-final-class userdiff: support new keywords in PHP hunk header 4 years ago
php-final-method userdiff: PHP: catch "abstract" and "final" functions 2 years ago
php-function
php-interface userdiff: support new keywords in PHP hunk header 4 years ago
php-method
php-trait userdiff: support new keywords in PHP hunk header 4 years ago
python-async-def userdiff: support Python async functions 3 years ago
python-class userdiff: support Python async functions 3 years ago
python-def userdiff: support Python async functions 3 years ago
python-indented-async-def userdiff: support Python async functions 3 years ago
python-indented-class userdiff: support Python async functions 3 years ago
python-indented-def userdiff: support Python async functions 3 years ago
rust-fn userdiff: add built-in pattern for rust 4 years ago
rust-impl userdiff: add built-in pattern for rust 4 years ago
rust-macro-rules userdiff: recognize 'macro_rules!' as starting a Rust function block 2 years ago
rust-struct userdiff: add built-in pattern for rust 4 years ago
rust-trait userdiff: add built-in pattern for rust 4 years ago
scheme-class userdiff: add support for Scheme 2 years ago
scheme-def userdiff: add support for Scheme 2 years ago
scheme-def-variant userdiff: add support for Scheme 2 years ago
scheme-define-slash-public userdiff: add support for Scheme 2 years ago
scheme-define-syntax userdiff: add support for Scheme 2 years ago
scheme-define-variant userdiff: add support for Scheme 2 years ago
scheme-library userdiff: add support for Scheme 2 years ago
scheme-local-define userdiff: add support for Scheme 2 years ago
scheme-module userdiff: add support for Scheme 2 years ago
scheme-top-level-define userdiff: add support for Scheme 2 years ago
scheme-user-defined-define userdiff: add support for Scheme 2 years ago

README

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.

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.