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 6785826..1983d45 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