@matheusbsbs / matheus-bagliano / commits / d454460151
Fork 0

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>

Christian Stimming committed Jan 8, 2008 at 21:21 UTC d4544601513c9ab5a702d7815afcdf13014b06cc
1 file changed +3 -1
lib/index.tcl
+3 -1
@@ -386,7 +386,9 @@ proc revert_helper {txt paths} {
386 set reply [tk_dialog \
387 .confirm_revert \
388 "[appname] ([reponame])" \
389 - [mc "Any unstaged changes will be permanently lost by the revert."] \
389 + "$query
390 +
391 +[mc "Any unstaged changes will be permanently lost by the revert."]" \
392 question \
393 1 \
394 [mc "Do Nothing"] \