Code

Merge branch 'js/rerere'
[git.git] / git-commit.sh
index a30bda19d526eba3b99aa803c838a41c2a017632..6bce41af4dc73d90028e76ba174e4e7795103d6c 100755 (executable)
@@ -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=""