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
Martin Langhoff <martin.langhoff@gmail.com>
Date
Oct 20, 2005, 00:43 UTC
Message-ID
<46a038f90510191743r22205cf5ia6e5fd624c2d4949@mail.gmail.com>
In-Reply-To
<20051019235208.GR30889@pasky.or.cz>
On 10/20/05, Petr Baudis <pasky@suse.cz> wrote:
Show 12 quoted lines
> Dear diary, on Thu, Oct 20, 2005 at 01:23:11AM CEST, I got a letter
> where Martin Langhoff <martin.langhoff@gmail.com> told me that...
> > Actually, all the tagsrefs have only one line, but something is going
> > weird around tagid=$(cat $tag) as $tag ends up containing many
> > filenames. So I undid my initial change to "head -n1", and I'm trying
> > to fix the loop.
>
> Hmm, what bash version are you using? It's enclosed in
>
>         for tag in *
>
> and perhaps your bash misunderstood.

After a bit of head-scratching, I found out what was causing this one: legacy tagnames from git-cvsimport that contain '*' in the tagname. So

   tagid=$(cat SOME_TAG **INVALID**)
gives us some really nasty surprises.
cheers,
martin
Previous: Petr Baudis
Message 13 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.