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