Re: Line ending normalization doesn't work as expected
- From
- Robert Dailey <rcdailey.lists@gmail.com>
- Date
- Feb 15, 2018, 21:47 UTC
- Message-ID
- <CAHd499C0+L5TgdaL_gBSfr54Mhx+8pGZun1ex8-YTkhUEi+k_w@mail.gmail.com>
- In-Reply-To
- <xmqqvaey83my.fsf@gitster-ct.c.googlers.com>
On Thu, Feb 15, 2018 at 1:16 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 10 quoted lines
> I think the message you are referring to is a tangent that discusses
> how it was done in the old world, with issues that come from the
> fact that with such an approach the paths are first removed from the
> index and then added afresh to the index, which can lose cases and
> executable bits when working on a filesystem that does not retain
> enough information.
>
> The way in the new world is to use "add --renormalize" which was
> added at 9472935d ("add: introduce "--renormalize"", 2017-11-16), I
> think.Oh I didn't realize someone actually did it. If so, that's awesome. Thanks Junio!