JAL-1551 CRLF handling
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Fri, 10 Oct 2014 14:14:06 +0000 (15:14 +0100)
committerJim Procter <j.procter@dundee.ac.uk>
Tue, 14 Oct 2014 12:25:08 +0000 (13:25 +0100)
.gitattributes [new file with mode: 0644]

diff --git a/.gitattributes b/.gitattributes
new file mode 100644 (file)
index 0000000..ecd18ce
--- /dev/null
@@ -0,0 +1,8 @@
+# force text file line endings to LF (Unix style) on commit
+# see https://help.github.com/articles/dealing-with-line-endings/#per-repository-settings
+* text=auto
+
+# see also http://git-scm.com/book/en/Customizing-Git-Git-Configuration#Formatting-and-Whitespace
+# Users should set a git/config entry of
+#    core.autocrlf = true # for Windows
+#    core.autocrlf = input # for Mac 
\ No newline at end of file