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

Re: Bug report

From
AWAndrew Wong <andrew.kw.w.lists@gmail.com>
Date
Oct 4, 2012, 17:01 UTC
Message-ID
<506DC100.5060307@gmail.com>
In-Reply-To
<506DB655.8020504@emsoftware.com>
On 10/04/2012 12:16 PM, John Whitney wrote:
Show 5 quoted lines
> This problem occurs on Mac, Windows, and Linux, and
> with multiple versions of git. Note that in my script a CR
> is appended to test.txt. On the Mac, you can generate this
> in Terminal by pressing Ctrl-V Ctrl-M. Or, alternatively,
> just download and run the script like this: "sh git_failure.sh"

Ah, yes. I can reproduce the problem. I was pasting the lines from your script. And I saw a new line in the shell when I pasted, so I thought the ^M was kept properly. But somewhere during the pasting, the ^M must have got translated to a \n automatically. Silly me.

Previous: John Whitney
Message 12 of 12 in “Bug report”
  1. John WhitneyOct 4, 2012
  2. Phil HordOct 4, 2012
  3. John WhitneyOct 4, 2012
  4. Jeff KingOct 6, 2012
  5. John WhitneyOct 7, 2012
  6. Jeff KingOct 7, 2012
  7. John WhitneyOct 9, 2012
  8. John WhitneyOct 9, 2012
  9. Andrew WongOct 4, 2012
  10. John WhitneyOct 4, 2012
  11. John WhitneyOct 4, 2012
  12. Andrew WongOct 4, 2012

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.