1. Stefan Saasen
  2. git


Shawn O. Pearce  committed 094fbbf

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>

  • Participants
  • Parent commits 3baee1f
  • Branches master
  • Tags gitgui-0.9.3

Comments (0)

Files changed (1)

File lib/error.tcl

View file
  • Ignore whitespace
 		append title " ([reponame])"
 	tk_messageBox \
-		-parent $parent \
+		-parent [_error_parent] \
 		-icon info \
 		-type ok \
 		-title $title \