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

Re: gitk: cannot handle tags with a % in them

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Mar 1, 2011, 01:38 UTC
Message-ID
<20110301013841.GC5597@elie>
In-Reply-To
<20110227224024.3751.96676.reportbug@pcfelipe.sateler>
Hi,
Felipe Sateler wrote[1]:
> Gitk chokes on tags containing a % character.
Reproduced as follows:
	git tag a%b
	gitk
and then clicking on the "| a%b >" symbol.
Result:
	can't read "tagids(foo1ar)": no such element in array
	can't read "tagids(foo1ar)": no such element in array
	    while executing
	"set text "[mc "Tag"]: $tag\n[mc "Id"]:  $tagids($tag)""
	    (procedure "showtag" line 19)
	    invoked from within
	"showtag foo1ar 1"
	    (command bound to event)

It seems that a tag containing a percent sign works okay in an expression like $tagids($tag), but not in a quoted expression like "$tagids($tag)".

Hints?

Thanks for gitk, of course. :) Jonathan

[1] http://bugs.debian.org/615645
Next: Pat Thoyts
Message 1 of 4 in “Re: gitk: cannot handle tags with a % in them”
  1. Jonathan NiederMar 1, 2011
  2. gitk: ensure quoted tag names in event bindingsPat Thoyts, Mar 1, 2011
  3. Jonathan NiederMar 2, 2011
  4. Paul MackerrasMar 9, 2011

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.