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

Re: git-log segfault on 00 graft

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Mar 4, 2008, 19:09 UTC
Message-ID
<alpine.LSU.1.00.0803041908210.22527@racer.site>
In-Reply-To
<Pine.LNX.4.64.0803041954320.7660@fbirervta.pbzchgretzou.qr>
Hi,
On Tue, 4 Mar 2008, Jan Engelhardt wrote:
Show 8 quoted lines
> I was playing a bit with grafts, and actually did this:
> 
>   echo '839affa3313011da783b5b8074a5c9805ee8503a 
> 0000000000000000000000000000000000000000' >.git/info/grafts
> 
> running `git log --topo-order` causes a segfault. Yes, I probably 
> "should not be doing that", but I think it at least should not
> segfault.

Well, I agree with the first, but not the latter. grafts are a really core and plumbing thing, and if you set it to something nonsensical, I think you should expect something like a segmentation fault.

Ciao, Dscho

Previous: Jan EngelhardtNext: Shawn O. Pearce
Message 2 of 5 in “git-log segfault on 00 graft”
  1. Jan EngelhardtMar 4, 2008
  2. Johannes SchindelinMar 4, 2008
  3. Shawn O. PearceMar 5, 2008
  4. Johannes SchindelinMar 5, 2008
  5. Björn SteinbrinkMar 5, 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.