git/list[1] front-page[2] threads[3] people[4] search[5] about
 

gui: error "missing close bracket" when doing a reset

From
Birger Skogeng Pedersen <birger.sp@gmail.com>
Date
Mar 8, 2020, 15:52 UTC
Message-ID
<CAGr--=L9nEfX1c6DnaqQHqNMh9Ci=q=dMZLE_gpgyoneBcJ_Kw@mail.gmail.com>
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

Next: Pratyush Yadav
Message 1 of 2 in “gui: error "missing close bracket" when doing a reset”
  1. Birger Skogeng PedersenMar 8, 2020
  2. Pratyush YadavMar 11, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.