summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2015-02-11 13:26:38 +0000
committerPádraig Brady <P@draigBrady.com>2015-02-11 13:26:38 +0000
commit87635d6e450bfd1ede6efdfcde4ab6f43d2da12d (patch)
treea447cdd4be6a047de09e2ce55d28f5e077976260
parent7577d1582b583d92c3452ee876e80ed30e58c934 (diff)
downloadcoreutils-87635d6e450bfd1ede6efdfcde4ab6f43d2da12d.tar.xz
maint: remove redundant diff filtering from sc_long_lines
* cfg.mk (sc_long_lines): diff files are now completely excluded, so no need to filter portions of them. Reported by Bernhard Voelker.
-rw-r--r--cfg.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/cfg.mk b/cfg.mk
index 0995cda83..7dc1a20c8 100644
--- 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: