1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-11-30 08:24:11 +01:00
LibrePilot/flight/.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
320 B
Plaintext

#
# Flight source code files should always have LF line endings by agreement
# http://wiki.openpilot.org/display/Doc/Coding+Style
#
*.c text eol=lf
*.h text eol=lf
*.py text eol=lf
*.s text eol=lf
*.S text eol=lf
*.ld text eol=lf
*.inc text eol=lf
Makefile text eol=lf
Makefile.* text eol=lf
*.mk text eol=lf