aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Stimming <stimming@tuhh.de>2008-01-08 21:21:15 +0100
committerShawn O. Pearce <spearce@spearce.org>2008-01-16 00:44:14 -0500
commitd4544601513c9ab5a702d7815afcdf13014b06cc (patch)
treeebb0cf2aafb4fc99668925fd7d0a34d479af2032
parent898ff9e9b430ab0602d99c2ca6bab7f03b4abb1a (diff)
downloadgit-d4544601513c9ab5a702d7815afcdf13014b06cc.tar.gz
git-d4544601513c9ab5a702d7815afcdf13014b06cc.tar.xz
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 <stimming@tuhh.de> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
-rw-r--r--lib/index.tcl4
1 files changed, 3 insertions, 1 deletions
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"] \