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>
This commit is contained in:
Christian Stimming 2008-01-08 21:21:15 +01:00 committed by Shawn O. Pearce
parent 898ff9e9b4
commit d454460151

View File

@ -386,7 +386,9 @@ proc revert_helper {txt paths} {
set reply [tk_dialog \ set reply [tk_dialog \
.confirm_revert \ .confirm_revert \
"[appname] ([reponame])" \ "[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 \ question \
1 \ 1 \
[mc "Do Nothing"] \ [mc "Do Nothing"] \