[geos-devel] Accompanying .editorconfig with .gitattributes?
Sandro Santilli
strk at kbt.io
Tue Aug 29 13:10:04 PDT 2017
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 ?
--strk;
More information about the geos-devel
mailing list