[PATCH 2/6] templates: Reformat pre-commit hook's message
- From
Richard Hartmann <richih.mailinglist@gmail.com>
- Date
- Jul 14, 2013, 16:21 UTC
- Message-ID
- <1373818879-1698-3-git-send-email-richih.mailinglist@gmail.com>
- In-Reply-To
- <1373818879-1698-1-git-send-email-richih.mailinglist@gmail.com>
Now that we're using heredoc, the message can span the full 80 chars.
Verbatim copy of 634709b489bb3db79f59127fd6bf79c5fd9b5ddf in original patch series from 2013-06-10.
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 889967c..e09cf89 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
-- 1.7.10.4