On Fri, May 7, 2010 at 12:27 AM, Eyvind Bernhardsen <eyvind.bernhardsen@xxxxxxxxx> wrote: > This discussion couldn't be more timely, as I've recently acquired a > desperate need to solve CRLF problems at $dayjob. This patch series > introduces a new way of turning on autocrlf normalization by splitting > the configuration into two: > > - An attribute called "auto-eol" is set in the repository to turn on > normalization of line endings. Since attributes are content, the > setting is copied when the repository is cloned and can be changed in > an existing repository (with a few caveats). Setting this attribute > is equivalent to setting "core.autocrlf" to "input" or "true". > > - A configuration variable called "core.eolStyle" determines which type > of line endings are used when checking files out to the working > directory. > Beautiful! This approach addresses most (all?) issues I've had with core.autocrlf in a very elegant way IMO! :) -- Erik "kusma" Faye-Lund -- 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