From: Pratyush Yadav
Date: Wed, 11 Mar 2020 07:35:37 GMT
Subject: Re: gui: error "missing close bracket" when doing a reset
Message-ID: <20200311073535.nwde2ujbsrslmggo@ti.com>
In-Reply-To:
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