{"thread":{"id":"37512","subject":"Git improvement for line feed processing: LF versus CR-LF","startedAt":"2014-09-08T08:55:07Z","lastAt":"2014-09-08T09:29:41Z","messageCount":2,"participants":["Francis ANDRE","Torsten Bögershausen"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"249025","messageId":"540D6EEB.2040101@orange.fr","threadId":"37512","inReplyTo":null,"subject":"Git improvement for line feed processing: LF versus CR-LF","fromName":"Francis ANDRE","fromEmail":"francis.andre.kampbell@orange.fr","sentAt":"2014-09-08T08:55:07Z","receivedAt":"2014-09-08T08:55:07Z","isPatch":false,"sender":{"key":"francis.andre.kampbell@orange.fr","avatar":null},"body":"Hi\n\nI am using git-gui on a project hosted  at GitHub and the project \nrequirement is to commit only Unix ending with LF lines as show below\n\nWhen contributing to POCO, please adhere to our coding style guide\n\nAll text file line endings in the repository must be Unix-style (LF). \nThis includes Visual Studio project and solution files (.sln, .vcproj, \n.vcxproj, .vcxproj.filters).\n\nBut git-gui translates states:\nwarning: LF will be replaced by CRLF in file.txt. The file will have its \noriginal line endings in your working directory.\n\nCould you add a option to git-gui to specify to translate or not the end \nof line of the cloned repository so that my fixes be accepted by the \nowner of the repository.\n\nThank\n"},{"id":"249027","messageId":"540D7705.4000405@web.de","threadId":"37512","inReplyTo":"540D6EEB.2040101@orange.fr","subject":"Re: Git improvement for line feed processing: LF versus CR-LF","fromName":"Torsten Bögershausen","fromEmail":"tboegi@web.de","sentAt":"2014-09-08T09:29:41Z","receivedAt":"2014-09-08T09:29:41Z","isPatch":false,"sender":{"key":"tboegi@web.de","avatar":"https://avatars.githubusercontent.com/u/7138363?v=4"},"body":"On 09/08/2014 10:55 AM, Francis ANDRE wrote:\n> Hi\n> []\n> All text file line endings in the repository must be Unix-style (LF). \n> This includes Visual Studio project and solution files (.sln, .vcproj, \n> .vcxproj, .vcxproj.filters).\n>\n> But git-gui translates states:\n> warning: LF will be replaced by CRLF in file.txt. The file will have \n> its original line endings in your working directory.\n>\n> Could you add a option to git-gui to specify to translate or not the \n> end of line of the cloned repository so that my fixes be accepted by \n> the owner of the repository.\n>\n> Thanks\nUnless I'm completely wrong, such an option already exists, please see\n\nhttp://git-htmldocs.googlecode.com/git/gitattributes.html\n"}]}