Add .gitattributes and introduce end-of-line normalization

This patch sets text=auto in the .gitattributes file
and which ensures that line endings are normalized.
Moreover all of the files that are currently use DOS
line endings will remain this way.

As of this patch any new file that will be added to
this repository should use UNIX line endings.

Signed-off-by: Dmitry Fleytman <dmitry@daynix.com>
Signed-off-by: Sameeh Jubran <sameeh@daynix.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
Sameeh Jubran 2016-09-08 16:01:18 +03:00 committed by Frediano Ziglio
parent aa0b291186
commit 72875ff529

16
.gitattributes vendored Normal file
View File

@ -0,0 +1,16 @@
* -text=auto
#These files have CRLF line endings, git shouldn't attempt to change that.
qxldod[[:space:]]Package/qxldod[[:space:]]Package.vcxproj -text
qxldod[[:space:]]Package/qxldod[[:space:]]Package.vcxproj.filters -text
qxldod.sln -text
qxldod/BaseObject.cpp -text
qxldod/BaseObject.h -text
qxldod/QxlDod.cpp -text
qxldod/QxlDod.h -text
qxldod/buildAll.bat -text
qxldod/clean.bat -text
qxldod/driver.cpp -text
qxldod/driver.h -text
qxldod/qxldod.vcxproj -text
qxldod/resource.h -text