git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] config.c: fix regression for core.safecrlf false

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Jun 6, 2018, 17:17 UTC
Message-ID
<CAPig+cRyv=JuGo+OfULuvbLrqRxoYZyBZDrSJrt5F8YRwzNn6w@mail.gmail.com>
In-Reply-To
<CAPig+cSzJ=2Zz7jRNB7sK7FyZ+YwdAFseCTSDbM_m4E8K9WxHA@mail.gmail.com>
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 &&
Previous: Eric SunshineNext: Anthony Sottile
Message 4 of 9 in “config.c: fix regression for core.safecrlf false”
  1. config.c: fix regression for core.safecrlf falseAnthony Sottile, Jun 4, 2018
  2. Torsten BögershausenJun 6, 2018
  3. Eric SunshineJun 6, 2018
  4. Eric SunshineJun 6, 2018
  5. Anthony SottileJun 6, 2018
  6. Eric SunshineJun 6, 2018
  7. Anthony SottileJun 12, 2018
  8. Eric SunshineJun 12, 2018
  9. Torsten BögershausenJun 13, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.