* .x-sc_prohibit_xmlGetProp: Add exception.
---
docs/news.html.in broke 'make syntax-check' again (how many releases
have we done with that issue?)
This is alternative 1. However, I won't push this, if alternative 2
pans out.
.x-sc_prohibit_xmlGetProp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/.x-sc_prohibit_xmlGetProp b/.x-sc_prohibit_xmlGetProp
index f6d7ee2..68a1da5 100644
--- a/.x-sc_prohibit_xmlGetProp
+++ b/.x-sc_prohibit_xmlGetProp
@@ -1 +1,2 @@
^src/util/xml.c$
+^docs/.*
--
1.7.3.2
Show replies by date
* cfg.mk (VC_LIST_ALWAYS_EXCLUDE_REGEX): Permanently exempt
docs/news.html.in from all future syntax checks.
---
Alternate 2. It panned out :) and should save us from having to deal
with this the next time news.html.in sucks in a commit message that
breaks a syntax check.
I'm pushing this under the build-breaker rule.
cfg.mk | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/cfg.mk b/cfg.mk
index ee182b7..8909983 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -64,6 +64,9 @@ local-checks-to-skip = \
sc_makefile_check \
sc_useless_cpp_parens
+# Files that should never cause syntax check failures.
+VC_LIST_ALWAYS_EXCLUDE_REGEX = ^docs/news.html.in$$
+
useless_free_options = \
--name=VIR_FREE \
--name=sexpr_free \
--
1.7.3.2