]> xenbits.xensource.com Git - libvirt.git/commitdiff
cfg.mak: ignore trailing whitespace in gnulib local patches
authorDaniel P. Berrangé <berrange@redhat.com>
Mon, 5 Mar 2018 18:46:24 +0000 (18:46 +0000)
committerDaniel P. Berrangé <berrange@redhat.com>
Mon, 5 Mar 2018 18:46:24 +0000 (18:46 +0000)
The diff files in gnulib/local may well contain trailing whitespace.
They are simply diff's of gnulib code which should not be modified to
follow libvirt style rules.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
cfg.mk

diff --git a/cfg.mk b/cfg.mk
index 22de11ce434d8c34516c08dbc0bba030d367af1c..bc8088d7c01dffcb245b262f4d52e04bb2574f12 100644 (file)
--- a/cfg.mk
+++ b/cfg.mk
@@ -1224,7 +1224,7 @@ exclude_file_name_regexp--sc_require_config_h_first = \
        ^(examples/|tools/virsh-edit\.c$$)
 
 exclude_file_name_regexp--sc_trailing_blank = \
-  /qemuhelpdata/|/sysinfodata/.*\.data|/virhostcpudata/.*\.cpuinfo$$
+  /qemuhelpdata/|/sysinfodata/.*\.data|/virhostcpudata/.*\.cpuinfo|^gnulib/local/.*/.*diff$$
 
 exclude_file_name_regexp--sc_unmarked_diagnostics = \
   ^(docs/apibuild.py|tests/virt-aa-helper-test|docs/js/.*\.js)$$