Code

git-gui: Change rude error popup to info popup.
authorShawn O. Pearce <spearce@spearce.org>
Sun, 21 Jan 2007 19:16:40 +0000 (14:16 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 22 Jan 2007 03:47:56 +0000 (22:47 -0500)
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 <spearce@spearce.org>
git-gui.sh

index f80c3b96397b64ad797e4f5981890df722db4122..d26868beca6a290bfe033d4b2318769d03e3d328 100755 (executable)
@@ -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.
 }