Add instructions to commit template.
authorMartin Waitz <tali@admingilde.org>
Thu, 25 May 2006 23:42:18 +0000 (01:42 +0200)
committerJunio C Hamano <junkio@cox.net>
Fri, 26 May 2006 08:55:01 +0000 (01:55 -0700)
New users can be irritated by the git status text in their editor.
Let's give them a short help.

Signed-off-by: Martin Waitz <tali@admingilde.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
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