Re: Git Cygwin - unable to create any repository - help!
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Jan 15, 2008, 20:04 UTC
- Message-ID
- <20080115200437.GB3213@steel.home>
- In-Reply-To
- <a5eb9c330801150721t5da85295heacae2c5a5aad47e@mail.gmail.com>
Paul Umbers, Tue, Jan 15, 2008 16:21:15 +0100:
> I've just completely uninstalled (ie: deleted) and re-installed > cygwin, ensuring that bin mode was selected for the install (I'm sure > it was before, that's the default). "mount" confirms that everything > is mounted in binmode.
Ok, so it is a bit more complicated...
Paul Umbers, Mon, Jan 14, 2008 18:21:44 +0100:
Show 7 quoted lines
> Trying to create a repository under the cygwin install of git, windows > XP Pro. I can create the initial repository OK using "git init" and > add files using "git add .", but when I come to commit I get the > messages: > > error: invalid object d9b06fceac52f6c24357e6a7f85c601088381152 > fatal: git-write-tree: error building trees
Does the object exists at all? Try
ls -l .git/d9/b06fceac52f6c24357e6a7f85c601088381152
Is it possible to get a hold of this repo (just the .git directly after "git add .")? It would be interesting to see the nature of the corruption.