1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-30 08:24:11 +01:00
LibrePilot/ground/.gitattributes
Oleg Semyonov 3bebec22f7 OP-772: Enforce line ending agreements (git 1.7.2+ required for this to work)
This is a part of OP-726, OP-727 tasks to normalize source code.
Use the following to normalise your local repository to be able to merge:

git rm --cached -r .
git diff --cached --name-only -z | xargs -0 git add
git commit -m "Normalise line endings"
git ls-files -z | xargs -0 rm
git checkout .
2013-04-05 23:43:58 +03:00

18 lines
348 B
Plaintext

#
# Ground source code files should always have CRLF line endings by agreement
# http://wiki.openpilot.org/display/Doc/Coding+Style
#
*.c text eol=crlf
*.cpp text eol=crlf
*.h text eol=crlf
*.hpp text eol=crlf
*.ui text eol=crlf
*.qrc text eol=crlf
*.qml text eol=crlf
*.pluginspec text eol=crlf
*.pri text eol=crlf
*.pro text eol=crlf