You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mnemonic.apache.org by "Wang, Gang (JIRA)" <ji...@apache.org> on 2016/04/19 20:13:25 UTC
[jira] [Comment Edited] (MNEMONIC-12) Add .gitattributes to prevent
CRLF and LF mismatches for source and text files
[ https://issues.apache.org/jira/browse/MNEMONIC-12?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15248330#comment-15248330 ]
Wang, Gang edited comment on MNEMONIC-12 at 4/19/16 6:13 PM:
-------------------------------------------------------------
Another thing is why "*.sh text eol=lf " has marked with "eof=lf" but not for "*.js text" and some else ? are there any special reasons to just mark *.sh with "eol=lf" ? thanks.
was (Author: qichfan):
Another thing is why "*.sh text eol=lf" has marked with "elf=lf" but not for "*.js text" and some else ? are there any special reasons to just mark *.sh with "eol=lf" ? thanks.
> Add .gitattributes to prevent CRLF and LF mismatches for source and text files
> ------------------------------------------------------------------------------
>
> Key: MNEMONIC-12
> URL: https://issues.apache.org/jira/browse/MNEMONIC-12
> Project: Mnemonic
> Issue Type: Task
> Reporter: Rakesh R
> Assignee: Rakesh R
> Labels: line-endings
>
> Git allows you to set the line ending properties for a repo directly using the text attribute in the {{.gitattributes}} file. This will ensure consistent behaviour for all users regardless of their git settings.
> This jira for adding {{.gitattributes}} file to the project tree.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)