git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git-gui: Fix broken revert confirmation.

From
Christian Stimming <stimming@tuhh.de>
Date
Jan 8, 2008, 20:21 UTC
Message-ID
<200801082121.15952.stimming@tuhh.de>

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
Message 1 of 1 in “git-gui: Fix broken revert confirmation.”
  1. Christian StimmingJan 8, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.