]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: remove redundant diff filtering from sc_long_lines
authorPádraig Brady <P@draigBrady.com>
Wed, 11 Feb 2015 13:26:38 +0000 (13:26 +0000)
committerPádraig Brady <P@draigBrady.com>
Wed, 11 Feb 2015 13:26:38 +0000 (13:26 +0000)
* cfg.mk (sc_long_lines): diff files are now completely excluded,
so no need to filter portions of them.
Reported by Bernhard Voelker.

cfg.mk

diff --git a/cfg.mk b/cfg.mk
index 0995cda8368848a50b02467c4e943374aa59ca10..7dc1a20c80e9d76fb07841c175434e74bd4fbb6b 100644 (file)
--- a/cfg.mk
+++ b/cfg.mk
@@ -248,8 +248,7 @@ sc_prohibit-gl-attributes:
 # - tests involving long checksum lines, and
 # - the 'pr' test cases.
 FILTER_LONG_LINES =                                            \
-  /^[^:]*\.diff:[^:]*:@@ / d;                                  \
-  \|^[^:]*man/help2man:| d;                    \
+  \|^[^:]*man/help2man:| d;                                    \
   \|^[^:]*tests/misc/sha[0-9]*sum.*\.pl[-:]| d;                        \
   \|^[^:]*tests/pr/|{ \|^[^:]*tests/pr/pr-tests:| !d; };
 sc_long_lines: