Re: [PATCH 2/6] templates: Reformat pre-commit hook's message
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 10, 2013, 19:47 UTC
- Message-ID
- <7vtxl5g33k.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1370889365-6239-3-git-send-email-richih.mailinglist@gmail.com>
Richard Hartmann <richih.mailinglist@gmail.com> writes:
Show 28 quoted lines
> 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 > '
OK. Occupying 75-col feels like it is pushing a bit, but the result does look more readable.