Add a gitattributes file for the migration.
When we start using git, we will be doing automatic line ending conversion in a nice uniform way: everything is expected to have LFs, rather than the current odd patchwork of svn:eol-style attributes. This .gitattributes file configures git to normalise all line endings to LF on checkin in files it believes are text (and its heuristics appear to be very good). It also explicitly declares a number of file types to be binary (which both disables line ending conversion for them and also prevents git attempting to display a textual diff of them). I have already normalised all files in the repository now to have the correct line endings, so this should not do anything bad for anyone who is already using git. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31104 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
30e2a6d58d
commit
8b9d6bdd1f
1 changed files with 16 additions and 0 deletions
16
.gitattributes
vendored
Normal file
16
.gitattributes
vendored
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
* text=auto
|
||||||
|
*.bmp binary
|
||||||
|
*.cat -text
|
||||||
|
*.dll binary
|
||||||
|
*.fnt binary
|
||||||
|
*.icns binary
|
||||||
|
*.ico binary
|
||||||
|
*.inf -text
|
||||||
|
*.jpg binary
|
||||||
|
*.pdf binary
|
||||||
|
*.png binary
|
||||||
|
*.svg binary
|
||||||
|
*.sys binary
|
||||||
|
*.vcproj -text
|
||||||
|
*.wav binary
|
||||||
|
*.xcf binary
|
Loading…
Reference in a new issue