From d4544601513c9ab5a702d7815afcdf13014b06cc Mon Sep 17 00:00:00 2001 From: Christian Stimming Date: Tue, 8 Jan 2008 21:21:15 +0100 Subject: [PATCH] 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 --- lib/index.tcl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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"] \ -- 2.30.2