Re: [PATCH v2 2/2] t0027: Support NATIVE_CRLF
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Apr 17, 2015, 19:37 UTC
- Message-ID
- <6e6620d53e9378d3c539c3d1f9cdac0d@www.dscho.org>
- In-Reply-To
- <55313C3C.1090504@web.de>
Hi Torsten,
On 2015-04-17 19:00, Torsten Bögershausen wrote:
Show 18 quoted lines
> On 2015-04-17 17.44, Torsten Bögershausen wrote: >> Without this patch, t0027 expects the native end-of-lines to be a single >> line feed character. On Windows, however, we set it to a carriage return >> character followed by a line feed character. Thus, we have to modify >> t0027 to expect different warnings depending on the end-of-line markers. >> >> Adjust the check of the warnings and use these macros: >> WILC: Warn if LF becomes CRLF >> WICL: Warn if CRLF becomes LF >> WAMIX: Mixed line endings: either CRLF->LF or LF->CRLF >> >> Improve the information given by check_warning(): >> Use test_cmp to show which warning is missing (or should'n t be there) >> >> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> >> Signed-off-by: Torsten Bögershausen <tboegi@web.de> > Originally I wanted to have Dscho as "Author", is that OK with you ? > (But the "From:" line didn't made it through my email program)
No worries. Dscho