Skip to content

Commit

Permalink
templates: Reformat pre-commit hook's message
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Richard Hartmann authored and Junio C Hamano committed Jul 15, 2013
1 parent 27b6e17 commit b1d5a57
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions templates/hooks--pre-commit.sample
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b1d5a57

Please sign in to comment.