[jboss-jira] [JBoss JIRA] (DROOLS-146) Use .gitattributes to force linux line endings for all text files

Geoffrey De Smet (JIRA) jira-events at lists.jboss.org
Thu May 23 11:33:07 EDT 2013


    [ https://issues.jboss.org/browse/DROOLS-146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12776441#comment-12776441 ] 

Geoffrey De Smet commented on DROOLS-146:
-----------------------------------------

While we do this, we 'll also want to look at defaulting to UTF-8 encoding
                
> Use .gitattributes to force linux line endings for all text files
> -----------------------------------------------------------------
>
>                 Key: DROOLS-146
>                 URL: https://issues.jboss.org/browse/DROOLS-146
>             Project: Drools
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>            Reporter: Geoffrey De Smet
>            Assignee: Geoffrey De Smet
>
> With .gitattributes we can force all java files etc to have linux file endings.
> I am experimenting with this in the optaplanner repository:
> https://github.com/droolsjbpm/optaplanner/commit/40dca629262568d5e5abb379655d0ea65aef19a6
> If it works well, we'll want to compile a good overall .gitattributes file and commit it to all droolsjbpm repositories.
> During the refactor to .gitattributes, execute this script to detect and fix all previous errors:
> https://help.github.com/articles/dealing-with-line-endings#re-normalizing-a-repository

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list