]> Kevux Git Server - rit/commitdiff
git-gui: add missing close bracket
authorPratyush Yadav <me@yadavpratyush.com>
Mon, 17 Feb 2020 16:04:45 +0000 (21:34 +0530)
committerPratyush Yadav <me@yadavpratyush.com>
Mon, 17 Feb 2020 16:04:45 +0000 (21:34 +0530)
In d9c6469 (git-gui: update status bar to track operations, 2019-12-01),
the status bar was refactored to allow multiple overlapping operations.

Since the refactor changed the status bar interface, all callsites had
to be refactored to use the new interface. During that refactoring, this
closing bracket was missed. This leads to an error message popping up
when doing 'Branch->Reset...'.

Signed-off-by: Pratyush Yadav <me@yadavpratyush.com>
lib/merge.tcl

index 8df8ffa..664803c 100644 (file)
@@ -244,7 +244,7 @@ Continue with resetting the current changes?"]
                set status_bar_operation [$::main_status \
                        start \
                        [mc "Aborting"] \
-                       [mc "files reset"]
+                       [mc "files reset"]]
                fileevent $fd readable [namespace code [list \
                        _reset_wait $fd $status_bar_operation]]
        } else {