On 7/23/08, Joshua Jensen <jjensen@xxxxxxxxxxxxxxxxx> wrote: > There are certain file formats, such as a Visual Studio .sln file, that > MUST be CRLF. [...] It seems like what people really want is some additional file attributes: 1. always CRLF on all platforms (eg. for .bat files) 2. always LF on all platforms (eg. for shell scripts and perl scripts) 3. just leave it alone no matter what (eg. for binary files) 4. convert line endings to LF on checkin, native on checkout (eg. for most source files) Where "native" is defined by some config option, but the choice of #1 through #4 is defined by .gitattributes. Thus, the config option affects only mode #4 (and perhaps the default mode, as it does now). The current system works for #3. With Dscho's patch, #4 works too. I think more kinds of per-file attributes are needed in order to get #1 and #2. Avery -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html