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 /archive.h | |
parent | Merge branch 'maint' of git://github.com/git-l10n/git-po into maint (diff) | |
download | tgif-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 'archive.h')
0 files changed, 0 insertions, 0 deletions