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

Re: Git Cygwin - unable to create any repository - help!

From
PUPaul Umbers <paul.umbers@gmail.com>
Date
Jan 15, 2008, 21:59 UTC
Message-ID
<a5eb9c330801151359q5a474a83le36ae9076ad4e5c1@mail.gmail.com>
In-Reply-To
<20080115212022.GC3213@steel.home>
Git version is 1.5.3.8.
On Jan 15, 2008 2:20 PM, Alex Riesen <raa.lkml@gmail.com> wrote:
Show 41 quoted lines
> Paul Umbers, Tue, Jan 15, 2008 21:12:45 +0100:
> > >
> > > 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.
> > >
> > git ls (see below) returns nothing - it looks like the object doesn't
> > exist at all. I've attached a .zip of the entire test directory (one
>
> zip is a bit lying: it does not keep the attributes of the files the
> way cygwin programs see them. For instance, it not known whether the
> hooks (.git/hooks) where executable at the time.
>
> > text file plus .git). This is after "git init" followed by "git add ."
> >
> > What do you think?
>
> I think it has failed already at "git add". From looking at the code
> it is hard for the current git-add (builtin-add.c) to fail silently.
>
> Hmm... What "git version" returns for you? (the .git/config contains
> filemode=true, which cygwin breaks every time).
>
> Of course, it would be interesting to know if the current git works
> for you. Or the MinGW port:
>
>     http://code.google.com/p/msysgit/downloads/list
>
> It used to conflict with cygwin, though.
>
> If the current git fails, I'd suggest to instrument write_sha1_file in
> sha1_file.c and see if it really manages to create temporary file and
> rename it to sha1 file (that d9/b06fceac52f6c24357e6a7f85c601088381152).
> I suspect either rename or link failing silently (IOW, it fails to
> create the new name under objects/d9/ but returns 0(no error) anyway).
>
>
-- 
Computer Science is no more about computers than astronomy is about telescopes.
--- Edsger W. Dijkstra

Paul Umbers MSc MBCS MIAP
paul.umbers@gmail.com
Previous: Alex RiesenNext: Alex Riesen
Message 11 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.