Re: Git Cygwin - unable to create any repository - help!
- From
Alex Riesen <raa.lkml@gmail.com>
- Date
- Jan 16, 2008, 18:31 UTC
- Message-ID
- <20080116183124.GA3181@steel.home>
- In-Reply-To
- <a5eb9c330801160742j645ee50p72ee0a93adf8f94f@mail.gmail.com>
Paul Umbers, Wed, Jan 16, 2008 16:42:46 +0100:
> OK, I think this worked (I'm a Java man, not C/C++). I downloaded the > latest 1.5.3 source from the git repository and ran "make" with > GIT_TEST_OPTS="--verbose --debug". Here's the output: >
...
Show 5 quoted lines
> * expecting success: tree=$(git write-tree) > error: invalid object e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 > fatal: git-write-tree: error building trees > * FAIL 5: writing tree out with git write-tree > tree=$(git write-tree)
Ok, since you managed to compile it, could you please try to strace git-add? Cygwins strace is a bit unusual, but strace --help can provide enough information to configure it to trace filesystem operations.
In the top-level of Git source directory:
$ uname -a > somefile
$ strace -o log -f -m syscall ./git --exec-path=$(pwd) add somefile
$ git ls-files -s somefileor
$ strace -o log -f -m syscall ./git --exec-path=$(pwd) hash-object somefile
Than check if the sha1file is missing and send in the log.