OSDN Git Service

templates: Reformat pre-commit hook's message
authorRichard Hartmann <richih.mailinglist@gmail.com>
Sun, 14 Jul 2013 16:21:15 +0000 (18:21 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 15 Jul 2013 16:52:52 +0000 (09:52 -0700)
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>
templates/hooks--pre-commit.sample

index 5558caa..2d86702 100755 (executable)
@@ -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