findutils-patches
[Top][All Lists]
Advanced

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

[Findutils-patches] [PATCH 19/19] Check for accidental modifications to


From: James Youngman
Subject: [Findutils-patches] [PATCH 19/19] Check for accidental modifications to the wrong section of the NEWS file.
Date: Fri, 2 Apr 2010 23:47:19 +0100

* cfg.mk (local-checks-to-skip): Remove sc_immutable_news.
(old_NEWS_hash): add existing hash (from "make update-NEWS-hash").

Signed-off-by: James Youngman <address@hidden>
---
 ChangeLog |    5 +++++
 cfg.mk    |    8 +++++++-
 2 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b71bd00..b94e5dd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2010-04-02  James Youngman  <address@hidden>
 
+       Check for accidental modifications to the wrong section of the
+       NEWS file.
+       * cfg.mk (local-checks-to-skip): Remove sc_immutable_news.
+       (old_NEWS_hash): add existing hash (from "make update-NEWS-hash").
+
        * cfg.mk: Append the names of checks to skip to
        local-checks-to-skip rather than inventing 7 new variables.
 
diff --git a/cfg.mk b/cfg.mk
index e06740a..341a550 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -21,7 +21,7 @@ local-checks-to-skip += sc_error_message_period 
sc_error_message_uppercase \
        sc_file_system
 
 # Errors I have not investigated; diagnose and fix later.
-local-checks-to-skip += sc_immutable_NEWS sc_makefile_at_at_check
+local-checks-to-skip += sc_makefile_at_at_check
 
 # False positives I don't have a workaround for yet.
 # sc_space_tab: several .xo test output files contain this sequence
@@ -47,3 +47,9 @@ local-checks-to-skip += \
 # where neither argument is a string literal.
 # sc_prohibit_stat_st_blocks produces a false positive on definition of 
ST_NBLOCKS.
 local-checks-to-skip += sc_prohibit_strcmp sc_prohibit_stat_st_blocks
+
+
+# NEWS hash.  We use this to detect unintended edits to bits of the NEWS file
+# other than the most recent section.   If you do need to retrospectively 
update
+# a historic section, run "make update-NEWS-hash", which will then edit this 
file.
+old_NEWS_hash := d41d8cd98f00b204e9800998ecf8427e
-- 
1.7.0





reply via email to

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