Commit [f99d8f]  Maximize  Restore  History

cleanup: add .gitattributes to control eol style explicitly

Having the text auto detection is a risk, as the detection may detect
text files that are not text and vise versa.

Having global setting will create confusion and differentiate between
users. So this patch also move this to local repository.

Having git to check out files differently in different OS is also
a not correct, as checkouts may be used in shares or in *NIX emulation
environments, so it have no effect.

Another issue is packaging, if we change out the tree differently
in several OSes, we may have different package content, which is
something that should be avoided.

Currently any editor of MS supports LF end of lines, so there is no
need to convert source files while checking out.

The visual studio files should be stored as CRLF as they are generated
by visual studio every save, in a way that CRLF are added.

I handled only the files that may be touch by MS users.

Signed-off-by: Alon Bar-Lev <>
Acked-by: Fabian Knittel <>
Signed-off-by: David Sommerseth <>

Alon Bar-Lev Alon Bar-Lev 2012-04-02

David Sommerseth David Sommerseth 2012-04-26

added .gitattributes
.gitattributes Diff Switch to side-by-side view
Loading... Diff Switch to side-by-side view

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks