[postgis-devel] extras/tiger_geocoder/upgrade_geocoder.bat and CRLF

Sandro Santilli strk at kbt.io
Mon Aug 7 13:27:02 PDT 2017


On Mon, Aug 07, 2017 at 09:10:05PM +0200, Mateusz Loskot wrote:
> On 7 August 2017 at 20:31, Regina Obe <lr at pcorp.us> wrote:
> > I don't quite understand why this is happening at all.
> >
> > We have in place svnprop that forces these files to have CRLF.
> 
> I confirm this preserves CRLF on svn checkout indeed,
> on both Unix and Windows.
> 
> I'm not sure how strongly svn:eol-style is preserved on commit,
> if any CRLF flipped to LF (eg. due to current .editorconfig setting)
> are re-converted back to CRLF.

In my case .editorconfig only runs if I open the file with my editor,
which didn't happen when I noticed the change. So it must have been
.gitattribute that changed the file from LF to CRLF.

I've no idea what svn:eol-style is supposed to do, but I'm pretty sure
that regina committed the file with LF line endings.

Regina: can you run some tests with and w/out the .editorconfig change ?
Does "svn diff" spots the difference between a LF and CRLF version ?

--strk;



More information about the postgis-devel mailing list