Re: Per file configurable eol-style transformations with Git?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 22, 2009, 01:24 UTC
- Message-ID
- <7v6393nyg9.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1050CAACABF64864A0CF79C957BF773B@helium>
"Alexander Veit" <alexander.veit@gmx.net> writes:
Show 14 quoted lines
> Jakub Narebski wrote:
>
>> See `crlf` attribute, which can be set, unset, unspecified, set
>> to "input", and used together with core.autocrlf ("true", "false",
>> "input") and core.safecrlf. Attributes can be set per path (using
>> globbing patterns) in .gitattributes file in tree, or in
>> .git/info/attributes (per repository).
>
> I've already tried
>
> [core]
> autoCRLF = true
>
> in the global gitconfig under Windows.That would not be per-file anyway.
What Jakub suggested makes sense. You want to read up on gitattributes(5).