Don't use "sscanf()" for tree mode scanning
[gitweb.git] / git-commit.sh
index 6785826fef91d35277107ae15a96619d2f5113c6..1983d45828228750e9b2db337140a5c9e7c27bfa 100755 (executable)
@@ -626,6 +626,9 @@ fi
 if test -z "$no_edit"
 then
        {
+               echo ""
+               echo "# Please enter the commit message for your changes."
+               echo "# (Comment lines starting with '#' will not be included)"
                test -z "$only_include_assumed" || echo "$only_include_assumed"
                run_status
        } >>"$GIT_DIR"/COMMIT_EDITMSG