From: Torsten Bögershausen Date: Sun, 30 Nov 2014 20:15:52 +0000 (+0100) Subject: t0027: check the eol conversion warnings X-Git-Tag: v2.3.0-rc0~52^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/0291973b361bb739df9052d17bfbf2d1e63f2004?hp=0291973b361bb739df9052d17bfbf2d1e63f2004 t0027: check the eol conversion warnings Depending on the file content, eol parameters and .gitattributes "git add" may give a warning when the eol of a file will change when the file is checked out again. There are 2 different warnings, either "CRLF will be replaced..." or "LF will be replaced...". Let t0027 check for these warnings by adding new parameters to create_file_in_repo(), which tells what warnings are expected. When a file has eol=lf or eol=crlf in .gitattributes, it is handled as text and should be normalized. Add tests for these cases that were not covered. Signed-off-by: Torsten Bögershausen Signed-off-by: Junio C Hamano ---