[geos-devel] Accompanying .editorconfig with .gitattributes?

Regina Obe lr at pcorp.us
Tue Aug 29 13:43:30 PDT 2017

Forget my +1 earlier.  -1 one I change to -1 :)

-----Original Message-----
From: geos-devel [mailto:geos-devel-bounces at lists.osgeo.org] On Behalf Of Sandro Santilli
Sent: Tuesday, August 29, 2017 4:10 PM
To: GEOS Development List <geos-devel at lists.osgeo.org>
Subject: Re: [geos-devel] Accompanying .editorconfig with .gitattributes?

On Tue, Aug 29, 2017 at 05:56:17PM +0200, Mateusz Loskot wrote:
> Hi,
> Since .editorconfig now forces LF/CRLF per file type in the codebase, 
> wouldn't it be a good idea to add .gitattributes with explicit eol= 
> specification per file type too?
> This would ensure git checkout/commit does not re-convert line endings 
> differently than as expected by .editorconfig.

I still hadn't fully understood .gitattributes but I think with PostgGIS it was the culprit for the conversion (ie: getting rid of .gitattributes stopped performing conversions).

On the contrary, .editorconfig only affects *editors*.

Are you seeing automatic conversions on checkout/commit under GEOS ?

geos-devel mailing list
geos-devel at lists.osgeo.org

More information about the geos-devel mailing list