diff options
author | Ben Walton <bwalton@artsci.utoronto.ca> | 2010-03-20 10:48:09 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-03-20 09:04:38 -0700 |
commit | 100e762a60a691a4978434f1cd5532e19cad39fc (patch) | |
tree | 6aa87c5094603e53468f9add2dc595693d5b63ee /templates/hooks--prepare-commit-msg.sample | |
parent | Make templates honour SHELL_PATH and PERL_PATH (diff) | |
download | tgif-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-x | templates/hooks--prepare-commit-msg.sample | 2 |
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, |