Re: [PATCH v2 2/2] t0027: Support NATIVE_CRLF

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 17, 2015 at 11:44 AM, Torsten Bögershausen <tboegi@xxxxxx> 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)

s/should'n t/shouldn't/

> Signed-off-by: Johannes Schindelin <johannes.schindelin@xxxxxx>
> Signed-off-by: Torsten Bögershausen <tboegi@xxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]