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

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

From
Brian Hetro <whee@smaertness.net>
Date
Aug 10, 2007, 15:41 UTC
Message-ID
<20070810154108.GA779@ruiner>

Hi, I have a problem with gitk not being able to show one of my repositories (git version 1.5.3.rc4.41.g7efe). I get this error while gitk starts:

can't unset "idinlist(f1d795add789ec43d3ccf1d35f3c39fb464f6e72)": no
such element in array
can't unset "idinlist(f1d795add789ec43d3ccf1d35f3c39fb464f6e72)": no
such element in array
    while executing
"unset idinlist($id)"
    (procedure "layouttail" line 11)
    invoked from within
"layouttail"
    (procedure "layoutmore" line 35)
    invoked from within
"layoutmore $tlimit $allread"
    (procedure "chewcommits" line 9)
    invoked from within
"chewcommits 1"
    ("eval" body line 1)
    invoked from within
"eval $script"
    (procedure "dorunq" line 9)
    invoked from within
"dorunq"
    ("after" script)

The repository log is partially displayed. gitk does work in git version 1.5.2.4, and qgit and giggle also work. git-fsck --full --strict indicates no problems.

I performed a bisect and commit 1ed84157a21a3e868228b15588e4aadfbe5a030b appears to be the culprit (Revert 88494423 (removal of duplicate parents in the output codepath)).

Brian
Next: Jeff King
Message 1 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.