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: > ... > * 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 somefile or $ 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. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html