Re: [PATCH RFC] t0027: check the eol conversion warnings

2014-11-21 Thread Torsten Bögershausen
On 20.11.14 23:37, Junio C Hamano wrote: > > --- > At a glance it is very hard to see what we might be _losing_ with this > change that claims to "add" new kinds of tests on top of existing ones. > > I am guessing that add-check-warn roughly corresponds to the old > create-file-in-repo but they ha

Re: [PATCH RFC] t0027: check the eol conversion warnings

2014-11-20 Thread Junio C Hamano
Torsten Bögershausen writes: > Add tests to check the warnings when adding file with eol=lf and eol=crlf. > > Add a function check_warning() to check the warnings on stderr > "CRLF will be replaced..." or "LF will be replaced..." > > Signed-off-by: Torsten Bögershausen > --- At a glance it is v

[PATCH RFC] t0027: check the eol conversion warnings

2014-11-20 Thread Torsten Bögershausen
Add tests to check the warnings when adding file with eol=lf and eol=crlf. Add a function check_warning() to check the warnings on stderr "CRLF will be replaced..." or "LF will be replaced..." Signed-off-by: Torsten Bögershausen --- t/t0027-auto-crlf.sh | 103 +++