Re: git on Cygwin: Not a valid object name HEAD
- From
Sebastian Schuberth <sschuberth@gmail.com>
- Date
- Aug 8, 2007, 07:55 UTC
- Message-ID
- <46B976E5.6090508@gmail.com>
- In-Reply-To
- <7vir7r56cs.fsf@assigned-by-dhcp.cox.net>
> 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