Re: [PATCH v3 1/1] convert_to_git(): checksafe becomes int conv_flags

2018-01-05 Thread Torsten Bögershausen
On 2018-01-05 20:00, Lars Schneider wrote: > >> On 01 Jan 2018, at 22:59, tbo...@web.de wrote: >> >> From: Torsten Bögershausen >> >> When calling convert_to_git(), the checksafe parameter has been used to >> check if commit would give a non-roundtrip conversion of EOL. >> >> When checksafe was i

Re: [PATCH v3 1/1] convert_to_git(): checksafe becomes int conv_flags

2018-01-05 Thread Lars Schneider
> On 01 Jan 2018, at 22:59, tbo...@web.de wrote: > > From: Torsten Bögershausen > > When calling convert_to_git(), the checksafe parameter has been used to > check if commit would give a non-roundtrip conversion of EOL. > > When checksafe was introduced, 3 values had been in use: > SAFE_CRLF_F

Re: [PATCH v3 1/1] convert_to_git(): checksafe becomes int conv_flags

2018-01-03 Thread Lars Schneider
> On 03 Jan 2018, at 06:36, Torsten Bögershausen wrote: > > On Tue, Jan 02, 2018 at 08:11:51PM +0100, Lars Schneider wrote: > > [snip] > >>> /* >>> diff --git a/diff.c b/diff.c >>> index fb22b19f09..2470af52b2 100644 >>> --- a/dif

Re: [PATCH v3 1/1] convert_to_git(): checksafe becomes int conv_flags

2018-01-02 Thread Torsten Bögershausen
On Tue, Jan 02, 2018 at 08:11:51PM +0100, Lars Schneider wrote: [snip] > > /* > > diff --git a/diff.c b/diff.c > > index fb22b19f09..2470af52b2 100644 > > --- a/diff.c > > +++ b/diff.c > > @@ -3524,9 +3524,9 @@ int diff_populate_fil

Re: [PATCH v3 1/1] convert_to_git(): checksafe becomes int conv_flags

2018-01-02 Thread Lars Schneider
> On 01 Jan 2018, at 22:59, tbo...@web.de wrote: > > From: Torsten Bögershausen > > When calling convert_to_git(), the checksafe parameter has been used to > check if commit would give a non-roundtrip conversion of EOL. > > When checksafe was introduced, 3 values had been in use: > SAFE_CRLF_F

[PATCH v3 1/1] convert_to_git(): checksafe becomes int conv_flags

2018-01-01 Thread tboegi
From: Torsten Bögershausen When calling convert_to_git(), the checksafe parameter has been used to check if commit would give a non-roundtrip conversion of EOL. When checksafe was introduced, 3 values had been in use: SAFE_CRLF_FALSE: no warning SAFE_CRLF_FAIL: reject the commit if EOL do not r