Re: use binmode(STDOUT) in git-status
- From
- H. 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