summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChristian Stimming <stimming@tuhh.de>2008-01-08 20:21:15 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2008-01-16 05:44:14 (GMT)
commitd4544601513c9ab5a702d7815afcdf13014b06cc (patch)
treeebb0cf2aafb4fc99668925fd7d0a34d479af2032 /lib
parent898ff9e9b430ab0602d99c2ca6bab7f03b4abb1a (diff)
downloadgit-d4544601513c9ab5a702d7815afcdf13014b06cc.zip
git-d4544601513c9ab5a702d7815afcdf13014b06cc.tar.gz
git-d4544601513c9ab5a702d7815afcdf13014b06cc.tar.bz2
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>
Diffstat (limited to 'lib')
-rw-r--r--lib/index.tcl4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/index.tcl b/lib/index.tcl
index a0b22f2..30a244c 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"] \