git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] git-gui: Do not select Revert Changes by default
@ 2012-03-17 15:12 Matthew L Daniel
  2012-03-17 20:02 ` Johannes Sixt
  0 siblings, 1 reply; 3+ messages in thread
From: Matthew L Daniel @ 2012-03-17 15:12 UTC (permalink / raw)
  To: git

Currently, if one activates the revert changes dialog,
it has the destructive button selected as the default.

This change moves the default action to "do nothing".
---
 git-gui/lib/index.tcl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/git-gui/lib/index.tcl b/git-gui/lib/index.tcl
index 8efbbdd..252aa33 100644
--- a/git-gui/lib/index.tcl
+++ b/git-gui/lib/index.tcl
@@ -437,7 +437,7 @@ proc revert_helper {txt paths} {
 
 [mc "Any unstaged changes will be permanently lost by the revert."]" \
 		question \
-		1 \
+		0 \
 		[mc "Do Nothing"] \
 		[mc "Revert Changes"] \
 		]
-- 
1.7.9.msysgit.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-17 20:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-17 15:12 [PATCH] git-gui: Do not select Revert Changes by default Matthew L Daniel
2012-03-17 20:02 ` Johannes Sixt
2012-03-17 20:07   ` Matthew Daniel

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).