]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Explicitly declare text files you want to always be normalized
authoragrigora <alina.gabriela.grigoras@cern.ch>
Thu, 10 Jul 2014 11:05:23 +0000 (13:05 +0200)
committeragrigora <alina.gabriela.grigoras@cern.ch>
Thu, 10 Jul 2014 11:05:23 +0000 (13:05 +0200)
.gitattributes

index 2cfabeae58cdb5614ad67f073c6b8dd99bc2ff3c..a82babda6aae3b9330503a24dc686d7a5ae24fb2 100644 (file)
@@ -1,5 +1,15 @@
 # Set default behaviour, in case users don't have core.autocrlf set.
 * text=auto
+
+# Explicitly declare text files you want to always be normalized and converted
+# to native line endings on checkout.
+*.c text
+*.h text
+*.C text
+*.cpp text
+*.cxx text
+*.sh text
+
 #unset the crlf for data files
 *.dat -text
 *.data -text