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

Re: git stash apply segfaulting when called in subdir

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jul 26, 2007, 05:40 UTC
Message-ID
<Pine.LNX.4.64.0707260635060.14781@racer.site>
In-Reply-To
<20070726050726.GC32617@coredump.intra.peff.net>
Hi,
On Thu, 26 Jul 2007, Jeff King wrote:
Show 10 quoted lines
> On Wed, Jul 25, 2007 at 03:28:12PM -0700, Junio C Hamano wrote:
> 
> > > zeisberg@cassiopeia:/tmp/repo$ cd dir; git stash apply
> > > error: missing object referenced by '696146c2a44d7fc4d5ae4a71589c4c0d84f59789'
> > > /home/zeisberg/usr/bin/git-stash: line 111: 13618 Segmentation fault      git-merge-recursive $b_tree -- $c_tree $w_tree
> > 
> > This probably is a merge-recursive bug, but in the meantime,
> > I think this should fix it.
> 
> The merge-recursive bug is simply a failure to check for invalid input.
No it is not.

The objects are there. But the objects cannot be found, since merge-recursive cannot go to top level.

Ciao, Dscho

Previous: Jeff KingNext: Jeff King
Message 5 of 7 in “git stash apply segfaulting when called in subdir”
  1. Uwe Kleine-KönigJul 25, 2007
  2. Junio C HamanoJul 25, 2007
  3. Johannes SchindelinJul 25, 2007
  4. Jeff KingJul 26, 2007
  5. Johannes SchindelinJul 26, 2007
  6. Jeff KingJul 26, 2007
  7. Steven WalterJul 25, 2007

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.