summaryrefslogtreecommitdiff
path: root/templates/hooks--prepare-commit-msg.sample
diff options
context:
space:
mode:
authorLibravatar Ben Walton <bwalton@artsci.utoronto.ca>2010-03-20 10:48:09 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-03-20 09:04:38 -0700
commit100e762a60a691a4978434f1cd5532e19cad39fc (patch)
tree6aa87c5094603e53468f9add2dc595693d5b63ee /templates/hooks--prepare-commit-msg.sample
parentMake templates honour SHELL_PATH and PERL_PATH (diff)
downloadtgif-100e762a60a691a4978434f1cd5532e19cad39fc.tar.xz
Modernize git calling conventions in hook templates
The hook templates were still using/referencing 'git-foo' instead of 'git foo.' This patch updates the sample hooks to use the modern conventions instead. Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'templates/hooks--prepare-commit-msg.sample')
-rwxr-xr-xtemplates/hooks--prepare-commit-msg.sample2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/hooks--prepare-commit-msg.sample b/templates/hooks--prepare-commit-msg.sample
index e8d1754f91..86b8f227ec 100755
--- a/templates/hooks--prepare-commit-msg.sample
+++ b/templates/hooks--prepare-commit-msg.sample
@@ -1,7 +1,7 @@
#!/bin/sh
#
# An example hook script to prepare the commit log message.
-# Called by git-commit with the name of the file that has the
+# Called by "git commit" with the name of the file that has the
# commit message, followed by the description of the commit
# message's source. The hook's purpose is to edit the commit
# message file. If the hook fails with a non-zero status,