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

t6023 broken under Mac OS

From
Torsten Bögershausen <tboegi@web.de>
Date
Jan 1, 2016, 15:36 UTC
Message-ID
<56869D10.9090105@web.de>

The (last) test case 'conflict markers contain CRLF when core.eol=crlf'

does not work as expected under Mac OS: "wc -l" is not portable and the line test $(sed -n "/\.txt\r$/p" output.txt | wc -l) = 3 fails.

(The other problem is that the usage of "\r" in a sed expression is not portable either.)

In other words: I don't have a solution at hand.
Next: Ramsay Jones
Message 1 of 7 in “t6023 broken under Mac OS”
  1. Torsten BögershausenJan 1, 2016
  2. Ramsay JonesJan 1, 2016
  3. Torsten BögershausenJan 1, 2016
  4. Ramsay JonesJan 1, 2016
  5. Torsten BögershausenJan 1, 2016
  6. Junio C HamanoJan 2, 2016
  7. Beat BolliJan 2, 2016

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.