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

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

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

From: Junio C Hamano <hidden>
Date: 2016-06-15 23:04:28

Johannes Schindelin [off-list ref] writes:
Hi Torsten,

On 2015-04-17 17:44, Torsten Bögershausen wrote:
quoted
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 <redacted>
Signed-off-by: Torsten Bögershausen <redacted>
Thank you so much!
Dscho
Thanks, is that "Acked-by: Dscho" for both patches?

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

From: Johannes Schindelin <hidden>
Date: 2016-06-15 23:04:28

Hi Junio,

On 2015-04-17 23:04, Junio C Hamano wrote:
Johannes Schindelin [off-list ref] writes:
quoted
On 2015-04-17 17:44, Torsten Bögershausen wrote:
quoted
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 <redacted>
Signed-off-by: Torsten Bögershausen <redacted>
Thank you so much!
Dscho
Thanks, is that "Acked-by: Dscho" for both patches?
Oops, yes:

Acked-by: Johannes Schindelin <redacted>

Sorry!
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help