Browse Source

ZOOKEEPER-1575. adding .gitattributes to prevent CRLF and LF mismatches for source and text files (Raja Aluri via michim)

git-svn-id: https://svn.apache.org/repos/asf/zookeeper/branches/branch-3.4@1584502 13f79535-47bb-0310-9956-ffa450edef68
Michi Mutsuzaki 11 years ago
parent
commit
0a9604eb59
2 changed files with 24 additions and 0 deletions
  1. 19 0
      .gitattributes
  2. 5 0
      CHANGES.txt

+ 19 - 0
.gitattributes

@@ -0,0 +1,19 @@
+# Auto detect text files and perform LF normalization
+*        text=auto
+
+*.cs     text diff=csharp
+*.java   text diff=java
+*.html   text diff=html
+*.py     text diff=python
+*.pl     text diff=perl
+*.pm     text diff=perl
+*.css    text
+*.js     text
+*.sql    text
+
+*.sh     text eol=lf
+
+*.bat    text eol=crlf
+*.cmd    text eol=crlf
+*.csproj text merge=union eol=crlf
+*.sln    text merge=union eol=crlf

+ 5 - 0
CHANGES.txt

@@ -16,6 +16,11 @@ BUGFIXES:
 
 
   ZOOKEEPER-1897. ZK Shell/Cli not processing commands (stack via michim)
   ZOOKEEPER-1897. ZK Shell/Cli not processing commands (stack via michim)
 
 
+IMPROVEMENTS:
+
+  ZOOKEEPER-1575. adding .gitattributes to prevent CRLF and LF mismatches for
+  source and text files (Raja Aluri via michim)
+
 
 
 Release 3.4.6 - 2014-03-10 
 Release 3.4.6 - 2014-03-10