diff options
author | Torsten Bögershausen <tboegi@web.de> | 2014-11-30 21:15:52 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-12-05 15:16:25 -0800 |
commit | 0291973b361bb739df9052d17bfbf2d1e63f2004 (patch) | |
tree | 821ce813ee764c73886ef7c50338156224f32ecc /t/t3200-branch.sh | |
parent | 8213d87a83867809f490e8d683ebbaa857547189 (diff) | |
download | git-0291973b361bb739df9052d17bfbf2d1e63f2004.tar.gz git-0291973b361bb739df9052d17bfbf2d1e63f2004.tar.xz |
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 <tboegi@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3200-branch.sh')
0 files changed, 0 insertions, 0 deletions