git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Pratyush Yadav <p.yadav@ti.com>
To: Birger Skogeng Pedersen <birger.sp@gmail.com>
Cc: Git List <git@vger.kernel.org>
Subject: Re: gui: error "missing close bracket" when doing a reset
Date: Wed, 11 Mar 2020 13:05:37 +0530	[thread overview]
Message-ID: <20200311073535.nwde2ujbsrslmggo@ti.com> (raw)
In-Reply-To: <CAGr--=L9nEfX1c6DnaqQHqNMh9Ci=q=dMZLE_gpgyoneBcJ_Kw@mail.gmail.com>

On 08/03/20 04:52PM, Birger Skogeng Pedersen wrote:
> Hi,
> 
> The last couple of times I've done a reset in git-gui
> (Branch->Reset...->Yes), the repo is reset but I get an error message.
> The message header says "Error: missing close-bracket". Error message
> is as follows:
> 
> missing close-bracket
> missing close-bracket
>     while executing
> "set status_bar_operation ["
>     invoked from within
> "if {[ask_popup $op_question] eq {yes}} {
>         set fd [git_read --stderr read-tree --reset -u -v HEAD]
>         fconfigure $fd -blocking 0 -translation binary
>         ..."
>     (procedure "merge::reset_hard" line 28)
>     invoked from within
> "merge::reset_hard"
>     invoked from within
> ".#mbar.#mbar#branch 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 .#mbar.#mbar#branch 1"
>     (command bound to event)
> 
> (end of error message)
> 
> Does anyone else experience the same issue?

I fixed a similar issue in 6b9919c (git-gui: add missing close bracket, 
2020-02-17). Do you have that commit applied? You can pull it from [0].

If you still have this problem even with the commit applied, let me know 
and I'll take a look after I get off from $DAYJOB.

[0] https://github.com/prati0100/git-gui.git

-- 
Regards,
Pratyush Yadav
Texas Instruments India

      reply	other threads:[~2020-03-11  7:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-08 15:52 gui: error "missing close bracket" when doing a reset Birger Skogeng Pedersen
2020-03-11  7:35 ` Pratyush Yadav [this message]

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

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200311073535.nwde2ujbsrslmggo@ti.com \
    --to=p.yadav@ti.com \
    --cc=birger.sp@gmail.com \
    --cc=git@vger.kernel.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).