Re: [PATCH/RFC 0/3] Per-repository end-of-line normalization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 7, 2010 at 3:41 PM, Finn Arne Gangstad <finnag@xxxxxxx> wrote:
> Maybe it is sufficient to add a new value to "crlf" that means:
>
> - If the file is autodetected as text:
>  - Convert to LF only on commit, and
>  - Convert to your preferred EOL style on checkout.
>
> I don't think autocrlf is a good place to specify preferred EOL
> style, it is too dangerous to set autocrlf to true by default, but it should
> not be dangerous to say that your preferred EOL style is CRLF.

Assuming it's updated to reuse the existing crlf attribute instead of
adding a new one, that seems to be exactly what this patch series is
about.  "Your preferred EOL style" is the newly introduced
core.eolStyle config option.  So... good idea :)

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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]