{"thread":{"id":"52954","subject":"gui: error \"missing close bracket\" when doing a reset","startedAt":"2020-03-08T15:53:08Z","lastAt":"2020-03-11T07:35:41Z","messageCount":2,"participants":["Birger Skogeng Pedersen","Pratyush Yadav"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"392949","messageId":"CAGr--=L9nEfX1c6DnaqQHqNMh9Ci=q=dMZLE_gpgyoneBcJ_Kw@mail.gmail.com","threadId":"52954","inReplyTo":null,"subject":"gui: error \"missing close bracket\" when doing a reset","fromName":"Birger Skogeng Pedersen","fromEmail":"birger.sp@gmail.com","sentAt":"2020-03-08T15:52:53Z","receivedAt":"2020-03-08T15:53:08Z","isPatch":false,"sender":{"key":"birger.sp@gmail.com","avatar":"https://avatars.githubusercontent.com/u/5260237?v=4"},"body":"Hi,\n\nThe last couple of times I've done a reset in git-gui\n(Branch->Reset...->Yes), the repo is reset but I get an error message.\nThe message header says \"Error: missing close-bracket\". Error message\nis as follows:\n\nmissing close-bracket\nmissing close-bracket\n    while executing\n\"set status_bar_operation [\"\n    invoked from within\n\"if {[ask_popup $op_question] eq {yes}} {\n        set fd [git_read --stderr read-tree --reset -u -v HEAD]\n        fconfigure $fd -blocking 0 -translation binary\n        ...\"\n    (procedure \"merge::reset_hard\" line 28)\n    invoked from within\n\"merge::reset_hard\"\n    invoked from within\n\".#mbar.#mbar#branch invoke active\"\n    (\"uplevel\" body line 1)\n    invoked from within\n\"uplevel #0 [list $w invoke active]\"\n    (procedure \"tk::MenuInvoke\" line 50)\n    invoked from within\n\"tk::MenuInvoke .#mbar.#mbar#branch 1\"\n    (command bound to event)\n\n(end of error message)\n\nDoes anyone else experience the same issue?\n\nBest regards,\nBirger\n"},{"id":"393056","messageId":"20200311073535.nwde2ujbsrslmggo@ti.com","threadId":"52954","inReplyTo":"CAGr--=L9nEfX1c6DnaqQHqNMh9Ci=q=dMZLE_gpgyoneBcJ_Kw@mail.gmail.com","subject":"Re: gui: error \"missing close bracket\" when doing a reset","fromName":"Pratyush Yadav","fromEmail":"p.yadav@ti.com","sentAt":"2020-03-11T07:35:37Z","receivedAt":"2020-03-11T07:35:41Z","isPatch":false,"sender":{"key":"p.yadav@ti.com","avatar":null},"body":"On 08/03/20 04:52PM, Birger Skogeng Pedersen wrote:\n> Hi,\n> \n> The last couple of times I've done a reset in git-gui\n> (Branch->Reset...->Yes), the repo is reset but I get an error message.\n> The message header says \"Error: missing close-bracket\". Error message\n> is as follows:\n> \n> missing close-bracket\n> missing close-bracket\n>     while executing\n> \"set status_bar_operation [\"\n>     invoked from within\n> \"if {[ask_popup $op_question] eq {yes}} {\n>         set fd [git_read --stderr read-tree --reset -u -v HEAD]\n>         fconfigure $fd -blocking 0 -translation binary\n>         ...\"\n>     (procedure \"merge::reset_hard\" line 28)\n>     invoked from within\n> \"merge::reset_hard\"\n>     invoked from within\n> \".#mbar.#mbar#branch invoke active\"\n>     (\"uplevel\" body line 1)\n>     invoked from within\n> \"uplevel #0 [list $w invoke active]\"\n>     (procedure \"tk::MenuInvoke\" line 50)\n>     invoked from within\n> \"tk::MenuInvoke .#mbar.#mbar#branch 1\"\n>     (command bound to event)\n> \n> (end of error message)\n> \n> Does anyone else experience the same issue?\n\nI fixed a similar issue in 6b9919c (git-gui: add missing close bracket, \n2020-02-17). Do you have that commit applied? You can pull it from [0].\n\nIf you still have this problem even with the commit applied, let me know \nand I'll take a look after I get off from $DAYJOB.\n\n[0] https://github.com/prati0100/git-gui.git\n\n-- \nRegards,\nPratyush Yadav\nTexas Instruments India\n"}]}