Subject: Re: git on Cygwin: Not a valid object name HEAD

From: Sebastian Schuberth <[email-masked]>
Date: Wed, 08 Aug 2007 09:55:17 +0200

> 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.

According to

http://www.cygwin.com/faq/faq.api.html#faq.api.cr-lf

adding those flags should be okay:

"Note that because the open/fopen switches are defined by ANSI, they 
exist under most flavors of Unix; open/fopen will just ignore the switch 
since they have no meaning to UNIX."

-- 
Sebastian Schuberth