From: Christian Stimming Date: Tue, 8 Jan 2008 20:21:15 +0000 (+0100) Subject: git-gui: Fix broken revert confirmation. X-Git-Tag: v1.5.4-rc4~1^2~7 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d4544601513c9ab5a702d7815afcdf13014b06cc;p=git.git git-gui: Fix broken revert confirmation. I broke this extremely cool feature in 1ac17950, but it is rather easy to fix this. Sorry for that. Signed-off-by: Christian Stimming Signed-off-by: Shawn O. Pearce --- diff --git a/lib/index.tcl b/lib/index.tcl index a0b22f294..30a244cc1 100644 --- a/lib/index.tcl +++ b/lib/index.tcl @@ -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"] \