aboutsummaryrefslogtreecommitdiff
path: root/templates/hooks--commit-msg.sample
diff options
context:
space:
mode:
authorBen Walton <bwalton@artsci.utoronto.ca>2010-03-20 10:48:09 -0400
committerJunio C Hamano <gitster@pobox.com>2010-03-20 09:04:38 -0700
commit100e762a60a691a4978434f1cd5532e19cad39fc (patch)
tree6aa87c5094603e53468f9add2dc595693d5b63ee /templates/hooks--commit-msg.sample
parent502be959531b34e2d9283213b7bca51842639240 (diff)
downloadgit-100e762a60a691a4978434f1cd5532e19cad39fc.tar.gz
git-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--commit-msg.sample')
-rwxr-xr-xtemplates/hooks--commit-msg.sample2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/hooks--commit-msg.sample b/templates/hooks--commit-msg.sample
index 6ef1d29d0..b58d1184a 100755
--- a/templates/hooks--commit-msg.sample
+++ b/templates/hooks--commit-msg.sample
@@ -1,7 +1,7 @@
#!/bin/sh
#
# An example hook script to check the commit log message.
-# Called by git-commit with one argument, the name of the file
+# Called by "git commit" with one argument, the name of the file
# that has the commit message. The hook should exit with non-zero
# status after issuing an appropriate message if it wants to stop the
# commit. The hook is allowed to edit the commit message file.