Re: [PATCH] config.c: fix regression for core.safecrlf false
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Jun 6, 2018, 17:22 UTC
- Message-ID
- <CAPig+cSm7My9r8KN1vNyssendf_v_nMARDAq6ALA=X7nZ+spkA@mail.gmail.com>
- In-Reply-To
- <CA+dzEB=7tGeXduxdKrJpDpXrmNbb_ZnYg=CmByJ7J-w-iiyxsQ@mail.gmail.com>
On Wed, Jun 6, 2018 at 1:18 PM, Anthony Sottile <asottile@umich.edu> wrote:
Show 13 quoted lines
> On Wed, Jun 6, 2018 at 10:17 AM, Eric Sunshine <sunshine@sunshineco.com> wrote: >> On Wed, Jun 6, 2018 at 1:15 PM, Eric Sunshine <sunshine@sunshineco.com> wrote: >>> On Mon, Jun 4, 2018 at 4:17 PM, Anthony Sottile <asottile@umich.edu> wrote: >>>> + for w in I am all CRLF; do echo $w; done | append_cr >allcrlf && >>> >>> Simpler: printf "%s\n" I am all CRLF | append_cr >allcrlf && >> >> Or even simpler: >> >> printf "%s\r\n" I am all CRLF >allcrlf && > > Yeah, I just copied the line in my test from another test in this file > which was doing a ~similar thing. [...]
Thanks for pointing that out. In that case, it's following existing practice, thus certainly not worth a re-roll.