Re: [PATCH v2] t0027: Add repoMIX and LF_nul

2015-04-25 Thread Junio C Hamano
Torsten Bögershausen writes: >> Hmph, would it still make sense to make sure that CRLF will stay CRLF >> so that future changes to break this expectation can be caught? Not >> that such a breakage is likely... > > Thanks for amending. > > We have the file CRLF (and CRLFmixLF), where we check tha

Re: [PATCH v2] t0027: Add repoMIX and LF_nul

2015-04-25 Thread Torsten Bögershausen
On 2015-04-25 18.41, Junio C Hamano wrote: > Torsten Bögershausen writes: > >> "new safer autocrlf handling": >> Check if eols in a file are converted at commit, when the file has >> CR (or CLLF) in the repo (technically speaking in the index). > > s/CLLF/CRLF/? (no need to resend for this;

Re: [PATCH v2] t0027: Add repoMIX and LF_nul

2015-04-25 Thread Junio C Hamano
Torsten Bögershausen writes: > "new safer autocrlf handling": > Check if eols in a file are converted at commit, when the file has > CR (or CLLF) in the repo (technically speaking in the index). s/CLLF/CRLF/? (no need to resend for this; I'll locally amend) > Add a test-file repoMIX with

Re: [PATCH v2] t0027: Add repoMIX and LF_nul

2015-04-25 Thread Johannes Schindelin
Hi Torsten, On 2015-04-25 08:47, Torsten Bögershausen wrote: > "new safer autocrlf handling": > Check if eols in a file are converted at commit, when the file has > CR (or CLLF) in the repo (technically speaking in the index). > Add a test-file repoMIX with mixed line-endings. > When conve

[PATCH v2] t0027: Add repoMIX and LF_nul

2015-04-24 Thread Torsten Bögershausen
"new safer autocrlf handling": Check if eols in a file are converted at commit, when the file has CR (or CLLF) in the repo (technically speaking in the index). Add a test-file repoMIX with mixed line-endings. When converting LF->CRLF or CRLF->LF: check the warnings checkout_files(): Chec