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

Re: git-send-pack segfaulting on DebianPPC (was: Re: cg-clone, tag objects and cg-push/git-push don't play nice)

From
Petr Baudis <pasky@suse.cz>
Date
Oct 19, 2005, 22:37 UTC
Message-ID
<20051019223743.GQ30889@pasky.or.cz>
In-Reply-To
<46a038f90510191356w56b78413p6b9fe5b67fc9ee74@mail.gmail.com>

Dear diary, on Wed, Oct 19, 2005 at 10:56:35PM CEST, I got a letter where Martin Langhoff <martin.langhoff@gmail.com> told me that...

> To recap: repo is slightly broken because cg-fetch has fetched tag
> objects, but hasn't followed them through to the commit objects they
> refer to.

That must be leftover of some old fetch, before cg-fetch got fixed wrt. this issue.

Show 6 quoted lines
> Internally cg-fetch is actually using git-ssh-fetch (I misreported it
> using git-fetch-pack), which is working correctly. However, cg-fetch
> attempts to optimize the fetch process, by not calling git-ssh-fetch
> if it has the tagobj that the ref points to. How those tag objects get
> there without commits in the first place I don't know. So I've removed
> the optimization and life is much better.

The "optimization" or something alike needs to be there at least for the user interface, so that we can actually say what tags are we downloading; besides, there can be a *lot* of tags. But I'm not sure how moot will this all be after Cogito moves to the remote peeking (Real Soon Now, promise ;-).

> There is a second bug during the tag fetch. Some of the references
> (created by git-cvsimport) are multiline, and break cg-fetch. It's
> probably a bug in git-cvsimport, but I'm fixing cg-fetch to use head
> -n1 instead of cat. I'll deal with git-cvsimport later.

Eek. Did I miss something and are multiline refs meaningful now? If not, they are pretty bad and I'd imagine other parts of Cogito would be pretty confused about that. I'd call this a corrupted repository, tough. Perhaps a check should be added to fsck.

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
VI has two modes: the one in which it beeps and the one in which
it doesn't.
Previous: Junio C HamanoNext: Martin Langhoff
Message 8 of 13 in “git-send-pack segfaulting on DebianPPC (was: Re: cg-clone, tag objects and cg-push/git-push don't play nice)”
  1. Martin LanghoffOct 19, 2005
  2. Junio C HamanoOct 19, 2005
  3. Martin LanghoffOct 19, 2005
  4. Linus TorvaldsOct 19, 2005
  5. Martin LanghoffOct 19, 2005
  6. Linus TorvaldsOct 19, 2005
  7. Junio C HamanoOct 19, 2005
  8. Petr BaudisOct 19, 2005
  9. Martin LanghoffOct 19, 2005
  10. Petr BaudisOct 19, 2005
  11. Junio C HamanoOct 20, 2005
  12. Petr BaudisOct 20, 2005
  13. Martin LanghoffOct 20, 2005

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.