Code

git-gui: Fix broken revert confirmation.
authorChristian Stimming <stimming@tuhh.de>
Tue, 8 Jan 2008 20:21:15 +0000 (21:21 +0100)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 16 Jan 2008 05:44:14 +0000 (00:44 -0500)
I broke this extremely cool feature in 1ac17950,
but it is rather easy to fix this. Sorry for that.

Signed-off-by: Christian Stimming <stimming@tuhh.de>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/index.tcl

index a0b22f2945c7293f62baf4c497fe6e8119b1df0a..30a244cc170a344ba99be1c7be07fdebe4333bde 100644 (file)
@@ -386,7 +386,9 @@ proc revert_helper {txt paths} {
        set reply [tk_dialog \
                .confirm_revert \
                "[appname] ([reponame])" \
-               [mc "Any unstaged changes will be permanently lost by the revert."] \
+               "$query
+
+[mc "Any unstaged changes will be permanently lost by the revert."]" \
                question \
                1 \
                [mc "Do Nothing"] \