From b1d5a570fc0176c77a52896e3b59174baa95e8bf Mon Sep 17 00:00:00 2001 From: Richard Hartmann Date: Sun, 14 Jul 2013 18:21:15 +0200 Subject: 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 --- templates/hooks--pre-commit.sample | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'templates') 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 -- cgit v1.2.3