[PATCH 2/6] templates: Reformat pre-commit hook's message
- From
Richard Hartmann <richih.mailinglist@gmail.com>
- Date
- Jun 10, 2013, 18:36 UTC
- Message-ID
- <1370889365-6239-3-git-send-email-richih.mailinglist@gmail.com>
- In-Reply-To
- <1370889365-6239-1-git-send-email-richih.mailinglist@gmail.com>
Now that the there's only one echo being spawned, the message can span the full 80 chars.
Signed-off-by: Richard Hartmann <richih.mailinglist@gmail.com> --- templates/hooks--pre-commit.sample | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/templates/hooks--pre-commit.sample b/templates/hooks--pre-commit.sample index 126ae13..7676c6e 100755 --- a/templates/hooks--pre-commit.sample +++ b/templates/hooks--pre-commit.sample @@ -33,13 +33,11 @@ if [ "$allownonascii" != "true" ] && then echo '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 '
-- 1.7.10.4