git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Add instructions to commit template.
@ 2006-05-25 23:42 Martin Waitz
  0 siblings, 0 replies; only message in thread
From: Martin Waitz @ 2006-05-25 23:42 UTC (permalink / raw)
  To: git

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>
---
 git-commit.sh |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/git-commit.sh b/git-commit.sh
index 6785826..1983d45 100755
--- a/git-commit.sh
+++ b/git-commit.sh
@@ -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
-- 
1.3.3.gc6dc-dirty


-- 
Martin Waitz

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2006-05-25 23:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-25 23:42 [PATCH] Add instructions to commit template Martin Waitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).