Skip to content

Commit

Permalink
git-gui: Paper bag fix info dialog when no files are staged at commit
Browse files Browse the repository at this point in the history
If the user tries to commit their changes without actually staging
anything we used to display an informational dialog suggesting they
first stage those changes, then retry the commit feature.

Unfortunately I broke this in aba15f7 ("Ensure error dialogs always
appear over all other windows") and failed to fix it in the paper
bag fix that came one day after it.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
  • Loading branch information
Shawn O. Pearce committed Feb 28, 2008
1 parent 3baee1f commit 094fbbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/error.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ proc info_popup {msg} {
append title " ([reponame])"
}
tk_messageBox \
-parent $parent \
-parent [_error_parent] \
-icon info \
-type ok \
-title $title \
Expand Down

0 comments on commit 094fbbf

Please sign in to comment.