@matheusbsbs / matheus-bagliano / commits / 094fbbf964
Fork 0

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>

Shawn O. Pearce committed Feb 28, 2008 at 01:28 UTC 094fbbf96415323907e71ec224a0f5d6e585d9d0
1 file changed +1 -1
lib/error.tcl
+1 -1
@@ -47,7 +47,7 @@ proc info_popup {msg} {
47 append title " ([reponame])"
48 }
49 tk_messageBox \
50 - -parent $parent \
50 + -parent [_error_parent] \
51 -icon info \
52 -type ok \
53 -title $title \