summaryrefslogtreecommitdiff
path: root/t/t2024-checkout-dwim.sh
diff options
context:
space:
mode:
authorLibravatar Torsten Bögershausen <tboegi@web.de>2015-04-17 17:44:05 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-04-18 11:47:33 -0700
commitd6d6673e66deb6c6263dbe3d6668748c4f51c9a6 (patch)
tree0344aaba421700ee9de9390770d5d51b606df08e /t/t2024-checkout-dwim.sh
parentt0027: cleanup: rename functions; avoid non-leading TABs (diff)
downloadtgif-d6d6673e66deb6c6263dbe3d6668748c4f51c9a6.tar.xz
t0027: support NATIVE_CRLF platforms
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 shouldn't be there). Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Torsten Bögershausen <tboegi@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t2024-checkout-dwim.sh')
0 files changed, 0 insertions, 0 deletions