coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/2] maint: exclude diff files from long lines check


From: Bernhard Voelker
Subject: Re: [PATCH 1/2] maint: exclude diff files from long lines check
Date: Wed, 11 Feb 2015 08:03:53 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

On 02/11/2015 04:57 AM, Pádraig Brady wrote:
> * cfg.mk: Add .diff files to the exclusion expression
> for sc_long_lines, since the gnulib code might be >0= 80 chars.
> Note 80 char lines trigger due to the added +/- diff marks.

Interesting - the diff marks were already excluded, but you're right
with that also other lines in *.diff files may be longer.

FILTER_LONG_LINES =                                             \
  /^[^:]*\.diff:[^:]*:@@ / d;                                   \
  ...

Now as we're excluding the *.diff files entirely, I think we
should remove the above extra exclusion pattern.

> Also normalize the $$ used in the other sc_long_lines exclusion
> expressions.

Good catch: +1

Thanks & have a nice day,
Berny



reply via email to

[Prev in Thread] Current Thread [Next in Thread]