maint: enable double-word-prohibiting rule
authorJim Meyering <meyering@redhat.com>
Tue, 17 Jan 2012 17:05:45 +0000 (18:05 +0100)
committerJim Meyering <meyering@redhat.com>
Sat, 21 Jan 2012 14:07:01 +0000 (15:07 +0100)
* cfg.mk (local-checks-to-skip): Enable sc_prohibit_doubled_word.
Exempt three files.

ChangeLog
cfg.mk

index f396efd..75db3b4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2012-01-17  Jim Meyering  <meyering@redhat.com>
 
+       maint: enable double-word-prohibiting rule
+       * cfg.mk (local-checks-to-skip): Enable sc_prohibit_doubled_word.
+       Exempt three files.
+
+2012-01-17  Jim Meyering  <meyering@redhat.com>
+
        maint: remove empty lines at EOF, but excluding modules/*
        Apply syntax rules at home as well as abroad.  Most changes
        were induced by running this:
diff --git a/cfg.mk b/cfg.mk
index b4e4171..ab75ffe 100644 (file)
--- a/cfg.mk
+++ b/cfg.mk
@@ -25,7 +25,6 @@ local-checks-to-skip =                        \
   sc_prohibit_c_ctype_without_use      \
   sc_prohibit_cloexec_without_use      \
   sc_prohibit_dirent_without_use       \
-  sc_prohibit_doubled_word             \
   sc_prohibit_error_without_use                \
   sc_prohibit_getopt_without_use       \
   sc_prohibit_hash_pjw_without_use     \
@@ -57,3 +56,5 @@ local-checks-to-skip =                        \
 empty-at-EOF = /fr/LC_MESSAGES/test-quotearg\.mo$$|^doc/INSTALL(\.(ISO|UTF-8))?
 exclude_file_name_regexp--sc_prohibit_empty_lines_at_EOF = \
   ^modules/|^lib/javaversion\.class$$|$(empty-at-EOF)
+exclude_file_name_regexp--sc_prohibit_doubled_word = \
+  ^(tests/test-init\.sh|lib/base(32|64)\.c)$$