* gui: error "missing close bracket" when doing a reset
@ 2020-03-08 15:52 Birger Skogeng Pedersen
2020-03-11 7:35 ` Pratyush Yadav
0 siblings, 1 reply; 2+ messages in thread
From: Birger Skogeng Pedersen @ 2020-03-08 15:52 UTC (permalink / raw)
To: Git List
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?
Best regards,
Birger
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: gui: error "missing close bracket" when doing a reset
2020-03-08 15:52 gui: error "missing close bracket" when doing a reset Birger Skogeng Pedersen
@ 2020-03-11 7:35 ` Pratyush Yadav
0 siblings, 0 replies; 2+ messages in thread
From: Pratyush Yadav @ 2020-03-11 7:35 UTC (permalink / raw)
To: Birger Skogeng Pedersen; +Cc: Git List
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-03-11 7:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-08 15:52 gui: error "missing close bracket" when doing a reset Birger Skogeng Pedersen
2020-03-11 7:35 ` Pratyush Yadav
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).