Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Strongly discourage --update-head-ok in fetch-options documentation.
[gitweb.git]
/
git-commit.sh
diff --git
a/git-commit.sh
b/git-commit.sh
index a30bda19d526eba3b99aa803c838a41c2a017632..6bce41af4dc73d90028e76ba174e4e7795103d6c 100755
(executable)
--- a/
git-commit.sh
+++ b/
git-commit.sh
@@
-520,7
+520,7
@@
then
current="$(git-rev-parse --verify HEAD)"
else
if [ -z "$(git-ls-files)" ]; then
- echo >&2
Nothing to commit
+ echo >&2
'nothing to commit (use "git add file1 file2" to include for commit)'
exit 1
fi
PARENTS=""