Browse Source

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>
maint
Richard Hartmann 12 years ago committed by Junio C Hamano
parent
commit
b1d5a570fc
  1. 6
      templates/hooks--pre-commit.sample

6
templates/hooks--pre-commit.sample

@ -34,13 +34,11 @@ then
cat <<\EOF cat <<\EOF
Error: Attempt to add a non-ascii file name. Error: Attempt to add a non-ascii file name.


This can cause problems if you want to work This can cause problems if you want to work with people on other platforms.
with people on other platforms.


To be portable it is advisable to rename the file. To be portable it is advisable to rename the file.


If you know what you are doing you can disable this If you know what you are doing you can disable this check using:
check using:


git config hooks.allownonascii true git config hooks.allownonascii true
EOF EOF

Loading…
Cancel
Save