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

Sebastiaan Couwenberg sebastic at xs4all.nl
Tue Aug 29 13:22:42 PDT 2017


On 08/29/2017 05:56 PM, Mateusz Loskot wrote:
> 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.

Please don't configure eol in .gitattributes, this causing problems for
packagers who use git. The eol option changes the source files to no
longer match what's in the source tarballs causing the buildsystem to
refuse to build the package due to changes to the upstream source.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1


More information about the geos-devel mailing list