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 @@ -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

Loading…
Cancel
Save