Re: [PATCH v2 7/7] t4051: mark supporting files as requiring LF-only line endings

2017-05-09 Thread Johannes Schindelin
Hi Junio, On Mon, 8 May 2017, Junio C Hamano wrote: > Johannes Schindelin writes: > > > 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

Re: [PATCH v2 7/7] t4051: mark supporting files as requiring LF-only line endings

2017-05-07 Thread Junio C Hamano
Johannes Schindelin writes: > 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 ...

[PATCH v2 7/7] t4051: mark supporting files as requiring LF-only line endings

2017-05-04 Thread Johannes Schindelin
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