git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-gui: Fix broken revert confirmation.
@ 2008-01-08 20:21 Christian Stimming
  0 siblings, 0 replies; only message in thread
From: Christian Stimming @ 2008-01-08 20:21 UTC (permalink / raw)
  To: Shawn O. Pearce; +Cc: Johannes Schindelin, git

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>
---
 lib/index.tcl |    4 +++-
 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"] \
-- 
1.5.3.4.206.g58ba4

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-01-08 20:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-08 20:21 git-gui: Fix broken revert confirmation Christian Stimming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).