[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 19/19] Check for accidental modifications to the wrong section of
From: |
James Youngman |
Subject: |
[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
- [PATCH 07/19] configure.ac: Quote the first argument to AC_DEFINE., (continued)
- [PATCH 07/19] configure.ac: Quote the first argument to AC_DEFINE., James Youngman, 2010/04/02
- [PATCH 13/19] Enable syntax checker sc_the_the, detecting doubled 'the'., James Youngman, 2010/04/02
- [PATCH 12/19] sc_prohibit_strcmp gives false positives when neither argument is a constant, so skip that check, James Youngman, 2010/04/02
- [PATCH 14/19] Avoid sc_prohibit_stat_st_blocks check, since it is broken., James Youngman, 2010/04/02
- [PATCH 15/19] Avoid using magic numbers as exit statuses., James Youngman, 2010/04/02
- [PATCH 16/19] Use set_program_name() to remember the programs' names., James Youngman, 2010/04/02
- [PATCH 17/19] Don't include quote.h/quotearg.h where it is not used., James Youngman, 2010/04/02
- [PATCH 18/19] cfg.mk: simplify variables, James Youngman, 2010/04/02
- [PATCH 19/19] Check for accidental modifications to the wrong section of the NEWS file.,
James Youngman <=