From: Shawn O. Pearce Date: Sun, 21 Jan 2007 19:16:40 +0000 (-0500) Subject: git-gui: Change rude error popup to info popup. X-Git-Tag: gitgui-0.6.0~89 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=884fd059f8c86dc815ea7fd769f7190e3f248536;p=git.git git-gui: Change rude error popup to info popup. If the user has not added any files yet they cannot commit. But telling them this isn't an error, its really just an informational note meant to push the user in the correct direction. Signed-off-by: Shawn O. Pearce --- diff --git a/git-gui.sh b/git-gui.sh index f80c3b963..d26868bec 100755 --- a/git-gui.sh +++ b/git-gui.sh @@ -915,7 +915,7 @@ File [short_path $path] cannot be committed by this program. } } if {!$files_ready} { - error_popup {No changes to commit. + info_popup {No changes to commit. You must add at least 1 file before you can commit. }