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

Re: use binmode(STDOUT) in git-status

From
HAH. Peter Anvin <hpa@zytor.com>
Date
Nov 28, 2005, 15:55 UTC
Message-ID
<438B2859.6060109@zytor.com>
In-Reply-To
<81b0412b0511272334w393434e7lad3e3b102e6c3e9e@mail.gmail.com>
Alex Riesen wrote:
Show 5 quoted lines
> Activision's Perl generates CRLF unless STDOUT is binmoded, which is
> inconsistent with other output of git-status.
> 
> ---
> I assume none _sane_ can want CRLF as line-ending...

Well, if it's a text file we probably should use platform-native line-ending, and at least be tolerant of \r\n.

	-hpa
Previous: Alex RiesenNext: Johannes Schindelin
Message 2 of 11 in “use binmode(STDOUT) in git-status”
  1. Alex RiesenNov 28, 2005
  2. H. Peter AnvinNov 28, 2005
  3. Johannes SchindelinNov 28, 2005
  4. H. Peter AnvinNov 28, 2005
  5. Johannes SchindelinNov 28, 2005
  6. Alex RiesenNov 29, 2005
  7. [OT] Activision (Re: use binmode(STDOUT) in git-status)Junio C Hamano, Nov 29, 2005
  8. Johannes SchindelinNov 29, 2005
  9. Junio C HamanoNov 28, 2005
  10. Tim O'CallaghanNov 29, 2005
  11. Johannes SchindelinNov 29, 2005

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.