summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Shawn O. Pearce <spearce@spearce.org>2007-01-21 14:16:40 -0500
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2007-01-21 22:47:56 -0500
commit884fd059f8c86dc815ea7fd769f7190e3f248536 (patch)
tree2819645c247e41ce57a17eca027532bee5d75349
parentgit-gui: Improve the merge check interface for branch deletion. (diff)
downloadtgif-884fd059f8c86dc815ea7fd769f7190e3f248536.tar.xz
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 <spearce@spearce.org>
-rwxr-xr-xgit-gui.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-gui.sh b/git-gui.sh
index f80c3b9639..d26868beca 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.
}