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

Re: Bug in gitk: can't unset "idinlist(...) ..."

From
Paul Mackerras <paulus@samba.org>
Date
Aug 11, 2007, 06:23 UTC
Message-ID
<18109.21984.26228.849806@cargo.ozlabs.ibm.com>
In-Reply-To
<alpine.LFD.0.999.0708101109310.30176@woody.linux-foundation.org>
Linus Torvalds writes:
Show 5 quoted lines
> I think git itself is quite robust in the face of duplicate parents, and 
> it really is a gitk bug that it has problems with them. That said, I don't 
> think we should *assume* they don't happen, and while we should consider 
> it a bug in hg2git that they did, it is not a "serious" bug per se. It's 
> only gitk that reacts this violently to it.

There has been a commit with duplicate parents in the kernel git tree for ages (13e65280), and gitk handles it just fine, so I don't think it's simply a problem with duplicate parents.

I know gitk currently barfs if there are any dangling parents in the git log --parents --boundary output (i.e. any ids which are listed in the second or subsequent position on the commit lines but never in the first position). It shouldn't, and I'll fix it.

It would be nice to know if it is actually dangling parents that is causing the problem, though.

Paul.
Previous: Linus TorvaldsNext: Jeff King
Message 6 of 10 in “Bug in gitk: can't unset "idinlist(...) ..."”
  1. Brian HetroAug 10, 2007
  2. Jeff KingAug 10, 2007
  3. Jeff KingAug 10, 2007
  4. Jeff KingAug 10, 2007
  5. Linus TorvaldsAug 10, 2007
  6. Paul MackerrasAug 11, 2007
  7. Jeff KingAug 11, 2007
  8. Paul MackerrasAug 12, 2007
  9. Junio C HamanoAug 12, 2007
  10. Paul MackerrasAug 13, 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.