summaryrefslogtreecommitdiff
path: root/templates/hooks--pre-commit.sample
diff options
context:
space:
mode:
authorLibravatar Richard Hartmann <richih.mailinglist@gmail.com>2013-07-14 18:21:15 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-07-15 09:52:52 -0700
commitb1d5a570fc0176c77a52896e3b59174baa95e8bf (patch)
treeb557480227ec7fa26f79b20efba8488b4992680c /templates/hooks--pre-commit.sample
parenttemplates: Use heredoc in pre-commit hook (diff)
downloadtgif-b1d5a570fc0176c77a52896e3b59174baa95e8bf.tar.xz
templates: Reformat pre-commit hook's message
Now that we're using heredoc, the message can span the full 80 chars. Signed-off-by: Richard Hartmann <richih.mailinglist@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'templates/hooks--pre-commit.sample')
-rwxr-xr-xtemplates/hooks--pre-commit.sample6
1 files changed, 2 insertions, 4 deletions
diff --git a/templates/hooks--pre-commit.sample b/templates/hooks--pre-commit.sample
index 5558caa7bb..2d867021d0 100755
--- a/templates/hooks--pre-commit.sample
+++ b/templates/hooks--pre-commit.sample
@@ -34,13 +34,11 @@ then
cat <<\EOF
Error: Attempt to add a non-ascii file name.
-This can cause problems if you want to work
-with people on other platforms.
+This can cause problems if you want to work with people on other platforms.
To be portable it is advisable to rename the file.
-If you know what you are doing you can disable this
-check using:
+If you know what you are doing you can disable this check using:
git config hooks.allownonascii true
EOF