From: Richard Hartmann Date: Sun, 14 Jul 2013 16:21:15 +0000 (+0200) Subject: templates: Reformat pre-commit hook's message X-Git-Tag: v1.8.4-rc0~10^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/b1d5a570fc0176c77a52896e3b59174baa95e8bf?hp=--cc 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 Signed-off-by: Junio C Hamano --- b1d5a570fc0176c77a52896e3b59174baa95e8bf 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