You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by wohali <gi...@git.apache.org> on 2017/03/19 23:26:40 UTC

[GitHub] couchdb issue #367: Use only unix line feeds (LF)

Github user wohali commented on the issue:

    https://github.com/apache/couchdb/pull/367
  
    I'm not sure how I feel about this.
    
    Files like configure.ps1 and Makefile.win are only used on Windows machines and must contain CRLF endings. If you move them to LF only, autoconversion *must* happen or the build will fail. But the configuration of `core.autocrlf` on a Windows developer's machine could cause this to fail.
    
    Also see the commentary here http://stackoverflow.com/questions/29435156/what-will-text-auto-eol-lf-in-gitattributes-do and especially the link to the CHANGELOG for Git 2.10.
    
    Under your proposed change what is the _correct_ way for a Windows developer to configure their git such that a checkout will have the correct line endings, and that when they create/edit new files, that they receive the correct line endings?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---