From: Sebastian Schuberth <sschuberth@gmail.com>
To: git@vger.kernel.org
Subject: Re: git on Cygwin: Not a valid object name HEAD
Date: Tue, 07 Aug 2007 15:18:10 +0200 [thread overview]
Message-ID: <f99rei$ou$1@sea.gmane.org> (raw)
In-Reply-To: <f99nm6$9vi$1@sea.gmane.org>
>>> 100% (2295/2295) done
>>> Resolving 1793 deltas...
>>> 100% (1793/1793) done
>>> : not a valid SHA1b870df7cde1e05ee76d1d15ea428f
>>> fatal: Not a valid object name HEAD
As Mark Levedahl assumed by e-mail, the problem is with Cygwin's binary
vs. text mount mode feature. Thanks Mark.
I'm running on NTFS and I did try the "binary mount" stuff before "git
clone" by issuing
mount -bc /cygdrive
but I overlooked that this command only affects /cygdrive paths, and I
did clone into a non /cygdrive path. So cloning to a /cygdrive mounted
path works now.
I wonder if this happens because git never passes "b" to any fopen()
calls (as there is no such thing like opening a file in binary mode
under Linux, because files are always opened "binary"). If fopen()
safely ignores the "b" option under Linux, I think it should always be
specified so Cygwin's git will work with text mode mounts when compiled
from the original git sources.
--
Sebastian Schuberth
next prev parent reply other threads:[~2007-08-07 13:18 UTC|newest]
Thread overview: 60+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-07 9:02 git on Cygwin: Not a valid object name HEAD Sebastian Schuberth
2007-08-07 11:58 ` Johannes Schindelin
2007-08-07 12:13 ` Sebastian Schuberth
2007-08-07 13:18 ` Sebastian Schuberth [this message]
2007-08-07 14:36 ` Shawn O. Pearce
2007-08-07 14:58 ` Brian Downing
2007-08-07 15:27 ` Sebastian Schuberth
2007-08-07 17:11 ` Steffen Prohaska
2007-08-07 17:42 ` Mark Levedahl
2007-08-07 19:41 ` Steffen Prohaska
2007-08-07 21:44 ` Linus Torvalds
2007-08-07 22:28 ` Junio C Hamano
2007-08-08 3:47 ` Linus Torvalds
2007-08-07 22:46 ` Steffen Prohaska
2007-08-07 22:49 ` [PATCH] cygwin: added fopen "b" and open O_BINARY to support cygwin's textmode Steffen Prohaska
2007-08-07 22:49 ` [PATCH] tests: added d2u to have unix style testfiles even in textmode Steffen Prohaska
2007-08-08 3:03 ` Linus Torvalds
2007-08-08 5:00 ` Steffen Prohaska
2007-08-07 23:20 ` git on Cygwin: Not a valid object name HEAD Steffen Prohaska
2007-08-08 4:25 ` Brian Downing
2007-08-08 5:46 ` Steffen Prohaska
2007-08-07 22:26 ` Junio C Hamano
2007-08-08 7:55 ` Sebastian Schuberth
2007-08-08 13:50 ` Mark Levedahl
2007-08-08 15:51 ` Steffen Prohaska
2007-08-08 16:41 ` Mark Levedahl
2007-08-08 17:20 ` Johannes Schindelin
2007-08-08 19:37 ` Steffen Prohaska
2007-08-08 20:13 ` Steffen Prohaska
2007-08-08 20:36 ` Steffen Prohaska
2007-08-08 23:07 ` Mark Levedahl
2007-08-09 4:59 ` Steffen Prohaska
2007-08-09 6:01 ` Marius Storm-Olsen
2007-08-09 6:38 ` Steffen Prohaska
2007-08-09 6:47 ` Marius Storm-Olsen
2007-08-09 8:50 ` Johannes Schindelin
2007-08-09 9:00 ` Marius Storm-Olsen
2007-08-09 10:33 ` Steffen Prohaska
2007-08-08 21:30 ` Johannes Schindelin
2007-08-09 6:20 ` Steffen Prohaska
2007-08-10 6:07 ` Torgil Svensson
2007-08-10 7:19 ` Steffen Prohaska
2007-08-10 10:30 ` Johannes Schindelin
2007-08-10 11:14 ` Steffen Prohaska
2007-08-10 22:31 ` Torgil Svensson
2007-08-11 0:43 ` Steffen Prohaska
2007-08-13 10:50 ` Johannes Schindelin
2007-08-15 0:04 ` Torgil Svensson
2007-08-15 5:22 ` Steffen Prohaska
2007-08-15 5:30 ` David Kastrup
2007-08-15 5:43 ` Steffen Prohaska
2007-08-15 6:59 ` David Kastrup
[not found] ` <86k5rx474o.fsf@lola.quinscape.zz>
2007-08-15 7:38 ` Shawn O. Pearce
2007-08-15 12:42 ` Mark Levedahl
2007-08-15 12:48 ` Mark Levedahl
2007-08-15 13:06 ` Steffen Prohaska
2007-08-16 0:27 ` Mark Levedahl
2007-08-16 6:04 ` Steffen Prohaska
2007-08-16 11:55 ` Mark Levedahl
2007-08-07 15:29 ` Mark Levedahl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='f99rei$ou$1@sea.gmane.org' \
--to=sschuberth@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.