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

Re: [BUG] - git-read-tree segfaults

From
JOJiri Olsa <olsajiri@gmail.com>
Date
Mar 11, 2009, 07:59 UTC
Message-ID
<35476bd20903110059v7d6d8aa0g93af17a940c91919@mail.gmail.com>
In-Reply-To
<alpine.DEB.1.00.0903102120290.14295@intel-tinevez-2-302>

On Tue, Mar 10, 2009 at 9:21 PM, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:

Show 10 quoted lines
> Hi,
>
> On Tue, 10 Mar 2009, Jiri Olsa wrote:
>
>> mb=$($GIT merge-base HEAD yyy)
>> $GIT read-tree $mb HEAD yyy
>
> While I agree that it is a bad thing for Git to segfault, I think this
> here is a pilot error.  You try to read 3 trees at the same time, but not
> perform a merge.  IMHO you want to add -m at least.

agreed, I've already said I executed it like this by an accident... it was easy to recreate so I shared... I'm not saying it is a show stopper :)

jirka
Show 5 quoted lines
>
> Ciao,
> Dscho
>
>
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 4 of 11 in “[BUG] - git-read-tree segfaults”
  1. Jiri OlsaMar 10, 2009
  2. Johannes SchindelinMar 10, 2009
  3. Johannes SchindelinMar 10, 2009
  4. Jiri OlsaMar 11, 2009
  5. Johannes SchindelinMar 11, 2009
  6. Junio C HamanoMar 12, 2009
  7. Junio C HamanoMar 12, 2009
  8. read-tree A B C: do not create a bogus index and do not segfaultJunio C Hamano, Mar 12, 2009
  9. Daniel BarkalowMar 12, 2009
  10. Linus TorvaldsMar 12, 2009
  11. Junio C HamanoMar 14, 2009

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.