You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by md...@apache.org on 2019/01/11 19:59:06 UTC

[incubator-openwhisk-wskdeploy] branch master updated: git attributes for working in unix or windows (#1026)

This is an automated email from the ASF dual-hosted git repository.

mdeuser pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-wskdeploy.git


The following commit(s) were added to refs/heads/master by this push:
     new 8effbcb  git attributes for working in unix or windows (#1026)
8effbcb is described below

commit 8effbcb14e1ebce419f4f2da8659d61fc5fa5580
Author: Mark Deuser <md...@us.ibm.com>
AuthorDate: Fri Jan 11 14:57:15 2019 -0500

    git attributes for working in unix or windows (#1026)
---
 .gitattributes | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..8499237
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1,27 @@
+# Auto detect text files and perform LF normalization.
+# Resources:
+#       - https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html
+#       - http://davidlaing.com/2012/09/19/customise-your-gitattributes-to-become-a-git-ninja/
+#       - https://help.github.com/articles/dealing-with-line-endings/
+* text=auto
+
+*.go            text eol=lf
+*.java          text
+*.js            text
+*.md            text
+*.py            text eol=lf
+*.scala         text
+*.sh            text eol=lf
+*.gradle        text
+*.xml           text
+*.yml           text
+*.bat           text eol=crlf
+
+*.jar           binary
+*.png           binary
+
+# bash files not having the .sh extension
+gradlew         text eol=lf
+
+Dockerfile      text
+Makefile        text