mirror of
https://github.com/git/git.git
synced 2024-12-02 22:43:44 +08:00
2779f66505
The test t4051-diff-function-context.sh passes on Linux when core.autocrlf=true even without marking its support files as LF-only, but they fail when core.autocrlf=true in Git for Windows' SDK. The reason is that `grep ... >file.c.new` will keep CR/LF line endings on Linux (obviously treating CRs as if they were regular characters), but will be converted to LF-only line endings with MSYS2's grep that is used in Git for Windows. As we do not want to validate the way the available `grep` works, let's just mark the input as LF-only and move on. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Reviewed-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
23 lines
401 B
Plaintext
23 lines
401 B
Plaintext
t[0-9][0-9][0-9][0-9]/* -whitespace
|
|
/diff-lib/* eol=lf
|
|
/t0110/url-* binary
|
|
/t3900/*.txt eol=lf
|
|
/t3901/*.txt eol=lf
|
|
/t4034/*/* eol=lf
|
|
/t4013/* eol=lf
|
|
/t4018/* eol=lf
|
|
/t4051/* eol=lf
|
|
/t4100/* eol=lf
|
|
/t4101/* eol=lf
|
|
/t4109/* eol=lf
|
|
/t4110/* eol=lf
|
|
/t4135/* eol=lf
|
|
/t4211/* eol=lf
|
|
/t4252/* eol=lf
|
|
/t5100/* eol=lf
|
|
/t5515/* eol=lf
|
|
/t556x_common eol=lf
|
|
/t7500/* eol=lf
|
|
/t8005/*.txt eol=lf
|
|
/t9*/*.dump eol=lf
|