git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Git Cygwin - unable to create any repository - help!

From
PUPaul Umbers <paul.umbers@gmail.com>
Date
Jan 14, 2008, 17:21 UTC
Message-ID
<a5eb9c330801140921m63b1b8a9pe67bf6f0d2e58dba@mail.gmail.com>

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

git-fsck gives me:

notice: HEAD points to an unborn branch (master) notice: No default references missing blob d9b06fceac52f6c24357e6a7f85c601088381152

This is with a simple repository of one directory containing one plain ascii text file with some text in it. I get similar messages, with one missing blob for each file or directory in the project, on more complex projects. At home, I use git under Ubuntu linux and haven't had any such problems.

The git/cygwin install followed the instruction for a cygwin binary installation from the wiki and no problems were reported. I've been unable to find online comments relating to this problem and am stuck.

Any suggestions?
Paul
Next: Alex Riesen
Message 1 of 39 in “Git Cygwin - unable to create any repository - help!”
  1. Paul UmbersJan 14, 2008
  2. Alex RiesenJan 14, 2008
  3. Paul UmbersJan 14, 2008
  4. Alex RiesenJan 15, 2008
  5. Paul UmbersJan 15, 2008
  6. Alex RiesenJan 15, 2008
  7. Paul UmbersJan 15, 2008
  8. Alex RiesenJan 15, 2008
  9. Paul UmbersJan 15, 2008
  10. Alex RiesenJan 15, 2008
  11. Paul UmbersJan 15, 2008
  12. Alex RiesenJan 15, 2008
  13. Robin RosenbergJan 15, 2008
  14. Alex RiesenJan 16, 2008
  15. Paul UmbersJan 16, 2008
  16. Junio C HamanoJan 16, 2008
  17. Paul UmbersJan 16, 2008
  18. Alex RiesenJan 16, 2008
  19. Paul UmbersJan 16, 2008
  20. Alex RiesenJan 16, 2008
  21. Paul UmbersJan 16, 2008
  22. Alex RiesenJan 16, 2008
  23. Alex RiesenJan 16, 2008
  24. Paul UmbersJan 16, 2008
  25. Alex RiesenJan 16, 2008
  26. Paul UmbersJan 17, 2008
  27. Linus TorvaldsJan 17, 2008
  28. Johannes SchindelinJan 17, 2008
  29. Paul UmbersJan 17, 2008
  30. Linus TorvaldsJan 17, 2008
  31. Pascal ObryJan 17, 2008
  32. Johannes SchindelinJan 17, 2008
  33. Pascal ObryJan 17, 2008
  34. Paul UmbersJan 17, 2008
  35. Alex RiesenJan 17, 2008
  36. Nicholas WourmsJan 17, 2008
  37. Alex RiesenJan 17, 2008
  38. Paul UmbersJan 16, 2008
  39. Pascal ObryJan 15, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.