Re: Git improvement for line feed processing: LF versus CR-LF
On 09/08/2014 10:55 AM, Francis ANDRE wrote:
Show 15 quoted lines
> Hi
> []
> All text file line endings in the repository must be Unix-style (LF).
> This includes Visual Studio project and solution files (.sln, .vcproj,
> .vcxproj, .vcxproj.filters).
>
> But git-gui translates states:
> warning: LF will be replaced by CRLF in file.txt. The file will have
> its original line endings in your working directory.
>
> Could you add a option to git-gui to specify to translate or not the
> end of line of the cloned repository so that my fixes be accepted by
> the owner of the repository.
>
> Thanks
Unless I'm completely wrong, such an option already exists, please see
http://git-htmldocs.googlecode.com/git/gitattributes.html