From: Andrey Kamaev Date: Wed, 27 Feb 2013 23:18:54 +0000 (+0400) Subject: Revise git attributes X-Git-Tag: accepted/2.0/20130307.220821~34 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2be893a21ea264cde83bcd4aa3a50dc2943062e4;p=profile%2Fivi%2Fopencv.git Revise git attributes --- diff --git a/.gitattributes b/.gitattributes index cd56bd6..af704cd 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,27 +1,36 @@ .git* export-ignore -* text=auto -* whitespace=!indent,trail,space - -*.py text whitespace=tab-in-indent,trail,space,fix -*.cpp text whitespace=tab-in-indent,trail,space,fix -*.hpp text whitespace=tab-in-indent,trail,space,fix -*.cxx text whitespace=tab-in-indent,trail,space,fix -*.hxx text whitespace=tab-in-indent,trail,space,fix -*.mm text whitespace=tab-in-indent,trail,space,fix -*.c text whitespace=tab-in-indent,trail,space,fix -*.h text whitespace=tab-in-indent,trail,space,fix -*.i text whitespace=tab-in-indent,trail,space,fix -*.java text whitespace=tab-in-indent,trail,space,fix -*.cu text whitespace=tab-in-indent,trail,space,fix -*.cl text whitespace=tab-in-indent,trail,space,fix - -*.cmake text whitespace=tab-in-indent,trail,space,fix -*.cmakein text whitespace=tab-in-indent,trail,space,fix -*.in text whitespace=tab-in-indent,trail,space,fix -CMakeLists.txt text whitespace=tab-in-indent,trail,space,fix - -*.rst text whitespace=tab-in-indent,trail,space,fix +* text=auto whitespace=trailing-space,space-before-tab,-indent-with-non-tab,tab-in-indent,tabwidth=4 + +*.py text +*.cpp text +*.hpp text +*.cxx text +*.hxx text +*.mm text +*.c text +*.h text +*.i text +*.js text +*.java text +*.scala text +*.cu text +*.cl text +*.css_t text +*.qrc text +*.qss text +*.S text +*.rst text +*.tex text +*.sty text + +*.aidl text +*.mk text + +*.cmake text whitespace=tabwidth=2 +*.cmakein text whitespace=tabwidth=2 +*.in text whitespace=tabwidth=2 +CMakeLists.txt text whitespace=tabwidth=2 *.png binary *.jepg binary @@ -32,22 +41,21 @@ CMakeLists.txt text whitespace=tab-in-indent,trail,space,fix *.a binary *.so binary *.dll binary +*.jar binary *.pdf binary *.pbxproj binary *.vec binary *.doc binary -*.css_t text -*.qrc text -*.qss text -*.S text - -*.xml -text -*.yml -text +*.xml -text whitespace=cr-at-eol +*.yml -text whitespace=cr-at-eol +.project -text whitespace=cr-at-eol merge=union +.classpath -text whitespace=cr-at-eol merge=union +.cproject -text whitespace=cr-at-eol merge=union +org.eclipse.jdt.core.prefs -text whitespace=cr-at-eol merge=union *.vcproj text eol=crlf merge=union -*.cproject text eol=crlf merge=union *.bat text eol=crlf *.cmd text eol=crlf *.cmd.tmpl text eol=crlf