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

Re: Ref list fails to load in gitk when stale tracking reference exists

From
Johannes Sixt <j6t@kdbg.org>
Date
Nov 15, 2025, 22:01 UTC
Message-ID
<c70c4605-8c14-46b1-89c4-736165432d07@kdbg.org>
In-Reply-To
<CAJESqkrv9RmimXn+6SUhRhih3qEsp_MQk0+BH2FZsFX-_uD1oA@mail.gmail.com>
Am 15.11.25 um 13:33 schrieb BhaaL:
Show 20 quoted lines
> This error message:
> ---------
> can't read "headids(remotes/origin/testing)": no such element in array
> can't read "headids(remotes/origin/testing)": no such element in array
>     while executing
> "commitinview $headids($upstreamofref($n)) $curview"
>     (procedure "refill_reflist" line 16)
>     invoked from within
> "refill_reflist"
>     (procedure "showrefs" line 44)
>     invoked from within
> "showrefs"
>     (command bound to event)
> ---------
> 
> remotes/origin/testing is a branch that existed upstream, but was
> since merged and deleted.
> The local one still exists (pending deletion/cleanup), but has a
> tracking reference
> in .git/config:
This is fixed in the gitk that is included in Git v2.52.0.
-- Hannes
Previous: BhaaLNext: BhaaL
Message 2 of 3 in “Ref list fails to load in gitk when stale tracking reference exists”
  1. BhaaLNov 15, 2025
  2. Johannes SixtNov 15, 2025
  3. BhaaLNov 15, 2025

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.