# [BUG] git-1.7.2-rc1, cherry-picking with gitk

2 messages from 2010-07-09 to 2010-07-09. Participants: Chris Packham.
Thread: https://gitlist.dev/t/24350

## Chris Packham, 2010-07-09 21:21

Subject: [BUG] git-1.7.2-rc1, cherry-picking with gitk
Message-ID: <4C3792E6.5060302@gmail.com>
URL: https://gitlist.dev/e/4C3792E6.5060302%40gmail.com

```
Hi,

Just noticed this when I was trying to cherry-pick a commit from one
branch to another.

I launch gitk with 'gitk master..work' and right-click a commit to be
cherry-picked. The cherry-pick seems to work (i.e. a new commit appears
on master) but I get the following message from gitk:

can't read "circleitem(5)": no such element in array
can't read "circleitem(5)": no such element in array
    while executing
"$canv itemconf $circleitem($row) -fill $ofill"
    (procedure "redrawtags" line 13)
    invoked from within
"redrawtags $oldhead"
    (procedure "cherrypick" line 46)
    invoked from within
"cherrypick"
    invoked from within
".rowctxmenu invoke active"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list $w invoke active]"
    (procedure "tk::MenuInvoke" line 50)
    invoked from within
"tk::MenuInvoke .rowctxmenu 1"
    (command bound to event)

I've been doing similar things with older versions of git without
problems (technically I usually do 'gitk --all' instead of 'gitk
master..work').

--
Thanks,
Chris

```

## Chris Packham, 2010-07-09 21:27

Subject: Re: [BUG] git-1.7.2-rc1, cherry-picking with gitk
Message-ID: <4C379456.9030401@gmail.com>
URL: https://gitlist.dev/e/4C379456.9030401%40gmail.com
In-Reply-To: <4C3792E6.5060302@gmail.com>

```
On 09/07/10 14:21, Chris Packham wrote:
> Hi,
> 
> Just noticed this when I was trying to cherry-pick a commit from one
> branch to another.
> 
> I launch gitk with 'gitk master..work' and right-click a commit to be
> cherry-picked. The cherry-pick seems to work (i.e. a new commit appears
> on master) but I get the following message from gitk:
> 
> can't read "circleitem(5)": no such element in array
> can't read "circleitem(5)": no such element in array
>     while executing
> "$canv itemconf $circleitem($row) -fill $ofill"
>     (procedure "redrawtags" line 13)
>     invoked from within
> "redrawtags $oldhead"
>     (procedure "cherrypick" line 46)
>     invoked from within
> "cherrypick"
>     invoked from within
> ".rowctxmenu invoke active"
>     ("uplevel" body line 1)
>     invoked from within
> "uplevel #0 [list $w invoke active]"
>     (procedure "tk::MenuInvoke" line 50)
>     invoked from within
> "tk::MenuInvoke .rowctxmenu 1"
>     (command bound to event)
> 
> I've been doing similar things with older versions of git without
> problems (technically I usually do 'gitk --all' instead of 'gitk
> master..work').
> 
> --
> Thanks,
> Chris

Just following up if I use 'gitk --all' I don't see the problem. I tried
git 1.6.4.3 and saw the same error message with 'gitk master..work'

```
