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, 16:08 UTC
Message-ID
<438B2B90.9010500@zytor.com>
In-Reply-To
<Pine.LNX.4.63.0511281700100.11362@wbgn013.biozentrum.uni-wuerzburg.de>
Johannes Schindelin wrote:
Show 9 quoted lines
> 
> Of course, here is the problem: git on Windows runs only using cygwin. You 
> can specify the line ending behaviour of cygwin (I think it is an env 
> variable). Activision Perl, being independent of cygwin, does not care 
> about that setting.
> 
> So, to be accurate, you'd have to check what *cygwin* expects, and 
> depending on that execute binmode(STDOUT) or not.
> 

Makes sense, I guess... except if you're running Cygwin, wouldn't Cygwin's Perl make a lot more sense?

	-hpa
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 4 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.