summaryrefslogtreecommitdiff
path: root/t/t7500/add-signed-off
diff options
context:
space:
mode:
authorSteven Grimm <koreth@midwinter.com>2007-07-23 04:17:42 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-07-25 03:46:54 (GMT)
commitd1cc130a5eb50d5bfe1e8b76cab3d8970fd70ad1 (patch)
tree29ad1e81adfcfddbb446d5cf924b7178012e27c6 /t/t7500/add-signed-off
parentaf66366a9feb0194ed04b1f538998021ece268a8 (diff)
downloadgit-d1cc130a5eb50d5bfe1e8b76cab3d8970fd70ad1.zip
git-d1cc130a5eb50d5bfe1e8b76cab3d8970fd70ad1.tar.gz
git-d1cc130a5eb50d5bfe1e8b76cab3d8970fd70ad1.tar.bz2
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>
Diffstat (limited to 't/t7500/add-signed-off')
-rwxr-xr-xt/t7500/add-signed-off3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/t7500/add-signed-off b/t/t7500/add-signed-off
new file mode 100755
index 0000000..e1d856a
--- /dev/null
+++ b/t/t7500/add-signed-off
@@ -0,0 +1,3 @@
+#!/bin/sh
+echo "Signed-off-by: foo <bar@frotz>" >> "$1"
+exit 0