projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15e1374
)
git-gui: Change rude error popup to info popup.
author
Shawn O. Pearce
<spearce@spearce.org>
Sun, 21 Jan 2007 19:16:40 +0000
(14:16 -0500)
committer
Shawn 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
patch
|
blob
|
history
diff --git
a/git-gui.sh
b/git-gui.sh
index f80c3b96397b64ad797e4f5981890df722db4122..d26868beca6a290bfe033d4b2318769d03e3d328 100755
(executable)
--- 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.
}