Re: Line ending normalization doesn't work as expected
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Oct 4, 2017, 16:59 UTC
- Message-ID
- <20171004165947.GN19555@aiede.mtv.corp.google.com>
- In-Reply-To
- <CAHd499BCMOcur6NRbKfwd81zpnyzoiVCY54d=UmGpAhbD7AVTA@mail.gmail.com>
Hi Robert,
Robert Dailey wrote:
> You guys are obviously worlds ahead of me on the internals of things, > but from my perspective I like to avoid the "plumbing" commands as > much as I can.
I suspect what we are dancing around is the need for some command like
git checkout --renormalize .
which would shorten the sequence to
git checkout --renormalize . git status; # Show files that will be normalized git commit; # Commit the result
What do you think? Would you be interested in writing a patch for it? ("No" is as always an acceptable answer.)
Thanks, Jonathan