Skip to content

Commit 094fbbf

Browse files
committed
git-gui: Paper bag fix info dialog when no files are staged at commit
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>
1 parent 3baee1f commit 094fbbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/error.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ proc info_popup {msg} {
4747
append title " ([reponame])"
4848
}
4949
tk_messageBox \
50-
-parent $parent \
50+
-parent [_error_parent] \
5151
-icon info \
5252
-type ok \
5353
-title $title \

0 commit comments

Comments
 (0)