Re: Git Cygwin - unable to create any repository - help!
- From
- Paul Umbers <paul.umbers@gmail.com>
- Date
- Jan 14, 2008, 22:21 UTC
- Message-ID
- <a5eb9c330801141421g13c627e5x77afb357e2a78463@mail.gmail.com>
- In-Reply-To
- <20080114202932.GA25130@steel.home>
The "mount" command tells me everything I have is mounted in binmode. I have used Git on a default cygwin install (win XP pro) before and not had this problem - that's why this is so frustrating. Not sure what changed this time round as I tend to use defaults for most installations.
Are you saying I need to make sure the repository directory is mounted in text-mode (for Windows compatibility)? I just reinstalled cygwin, selecting text-mode as the default. I can create a git repository, but "git add ." returns:
fatal: cannot use /cygdrive/c/test/.git/info/exclude as an exclude file
Paul
On Jan 14, 2008 1:29 PM, Alex Riesen <raa.lkml@gmail.com> wrote:
Show 14 quoted lines
> Paul Umbers, Mon, Jan 14, 2008 18:21:44 +0100: > > > 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 d9b06fceac52f6c24357e6a7f85c601 > > 088381152 > > fatal: git-write-tree: error building trees > > Is it a "text-mode" mount where your repository is to reside? > >
-- Computer Science is no more about computers than astronomy is about telescopes. --- Edsger W. Dijkstra Paul Umbers MSc MBCS MIAP paul.umbers@gmail.com