From: Junio C Hamano Date: Tue, 07 Aug 2007 22:26:27 GMT Subject: Re: git on Cygwin: Not a valid object name HEAD Message-ID: <7vir7r56cs.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <07BB2580-4406-496F-8ACE-F6A03D1687BE@zib.de> Steffen Prohaska writes: > The discussion below basically leads to two questions: > > Is there any chance that git can be ported to cygwin's textmode? > > Is there any chance that patches would be accepted that try to > do so? Even if they add "b" to fopen and O_BINARY to open, which > both are useless on Unix? > > Junio, Linus? Hopefully fopen() would not barf upon seeing "b", and O_BINARY can be ifdefed to 0 on platforms where it is not applicable and or'ed in to the flags. As long as they can be proven to be useful on Cygwin, I do not see an issue.