From 9b283f57928632b6e53641093cebe9df5c394c50 Mon Sep 17 00:00:00 2001 From: Randall Hauch Date: Wed, 27 Jan 2016 08:55:09 -0600 Subject: [PATCH] DBZ-6 Enforce line ending style for most file types. --- .gitattributes | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..fb2ec406f --- /dev/null +++ b/.gitattributes @@ -0,0 +1,24 @@ +# Repository specific GIT options + +# Set default handling of line terminators for all non explicitly listed file types: +* text=auto + +# Force LF as internal repository format for all following files; +# this overrides user settings to enforce the *right format* : +*.java text +*.xml text +*.txt text +*.md text +*.html text +*.properties text +*.rb text +*.pot text +*.po text +*.xsd text +*.header text +*.groovy text +*.css text + +# Specify we want Java-friendly readable chunk headers for diff: + +*.java diff=java \ No newline at end of file