You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@toree.apache.org by jo...@apache.org on 2017/02/02 22:10:10 UTC

incubator-toree git commit: Add git configuration for line ending

Repository: incubator-toree
Updated Branches:
  refs/heads/master 16a27b010 -> 1a9c11f5f


Add git configuration for line ending

Git relies on user setting core.autocrlf which
is ususally unreliable as not all users are aware
of this configuration, or they forget to properly set.

The .gitattributes file is a template file with the
appropriate configuration for different file types.

After these changes are applied it's recommended to
do the following commands on your local repository:

git rm --cached -r .
git reset --hard

More info available at
https://help.github.com/articles/dealing-with-line-endings/


Project: http://git-wip-us.apache.org/repos/asf/incubator-toree/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-toree/commit/1a9c11f5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-toree/tree/1a9c11f5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-toree/diff/1a9c11f5

Branch: refs/heads/master
Commit: 1a9c11f5f1381c15b691a716acd0e1f0432a9a35
Parents: 16a27b0
Author: Luciano Resende <lr...@apache.org>
Authored: Sat Jan 7 20:08:56 2017 -0800
Committer: Luciano Resende <lr...@apache.org>
Committed: Wed Feb 1 09:33:00 2017 -0800

----------------------------------------------------------------------
 .gitattributes | 13 +++++++++++++
 1 file changed, 13 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-toree/blob/1a9c11f5/.gitattributes
----------------------------------------------------------------------
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..a8edefd
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,13 @@
+# Set the default behavior to have all files normalized to Unix-style
+# line endings upon check-in.
+* text=auto
+
+# Declare files that will always have CRLF line endings on checkout.
+*.bat text eol=crlf
+
+# Denote all files that are truly binary and should not be modified.
+*.dll binary
+*.exp binary
+*.lib binary
+*.pdb binary
+*.exe binary