Teach git-commit about commit message templates.

These are useful in organizations that enforce particular formats
for commit messages, e.g., to specify bug IDs or test plans.
Use of the template is not enforced; it is simply used as the
initial content when the editor is invoked.

Signed-off-by: Steven Grimm <koreth@midwinter.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Steven Grimm
2007-07-22 21:17:42 -07:00
committed by Junio C Hamano
parent af66366a9f
commit d1cc130a5e
6 changed files with 163 additions and 5 deletions

3
t/t7500/add-signed-off Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
echo "Signed-off-by: foo <bar@frotz>" >> "$1"
exit 0