Skip to content

Commit

Permalink
git-gui: Fix broken revert confirmation.
Browse files Browse the repository at this point in the history
I broke this extremely cool feature in 1ac1795,
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>
  • Loading branch information
Christian Stimming authored and Shawn O. Pearce committed Jan 16, 2008
1 parent 898ff9e commit d454460
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/index.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -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"] \
Expand Down

0 comments on commit d454460

Please sign in to comment.