From: Paul Mackerras <paulus@samba.org>
To: Mark Levedahl <mdl123@verizon.net>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: [PATCH] gitk: Fix warning when removing a branch (take 2)
Date: Thu, 16 Aug 2007 11:57:46 +1000 [thread overview]
Message-ID: <18115.44826.758536.30810@cargo.ozlabs.ibm.com> (raw)
In-Reply-To: <11872265153600-git-send-email-mdl123@verizon.net>
Mark Levedahl writes:
> Paul - your commit b1054ac98 did not solve this for me. Playing around, I've
> several times received errors like this when trying to delete a branch:
>
> can't read "idheads(f7b9ebd595c954cd0803e6b6f1f0f96a966e04c9 a890c4fca84a2a5c7835fe6432ede3e7c4e5426b)": no such element in array
> can't read "idheads(f7b9ebd595c954cd0803e6b6f1f0f96a966e04c9 a890c4fca84a2a5c7835fe6432ede3e7c4e5426b)": no such element in array
Yeah, I missed that case. Sorry.
> while executing
> "if {$idheads($dheads) eq $head} {
I think
if {[llength $dheads] == 1 && $idheads($dheads) eq $head} {
should be what we want. Could you try that?
Paul.
next prev parent reply other threads:[~2007-08-16 1:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-16 1:08 [PATCH] gitk: Fix warning when removing a branch (take 2) Mark Levedahl
2007-08-16 1:57 ` Paul Mackerras [this message]
2007-08-16 11:46 ` Mark Levedahl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=18115.44826.758536.30810@cargo.ozlabs.ibm.com \
--to=paulus@samba.org \
--cc=git@vger.kernel.org \
--cc=mdl123@verizon.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).