On Fri, May 7, 2010 at 3:02 PM, Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote: > Btw, another option might be to start searching ".gitconfig", but only > allow a certain "safe subset" of config options in that. Things that can > really be about the project itself, and not per-user or per-repository. > [...] > Things like > > core.autocrlf > i18n.commitEnconfig Unfortunately this option wouldn't be as flexible as Eyvind's current proposal. What his method allows is to mark some files in a project as "these should be the native EOL style" and others as "these should be left alone." Then each person can set a (usually global) config option that states what the native EOL style should be. Like core.autocrlf, only it wouldn't affect projects without crlf attributes (like git.git or linux.git) where CRLF translation is pretty much always wrong. (And if one person disagrees that it's always wrong, well, he can always set core.autocrlf for himeself.) Have fun, 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