diff options
author | Martin Liska <mliska@suse.cz> | 2020-11-30 10:37:57 +0100 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2020-11-30 10:40:36 +0100 |
commit | fbbce1c6e98dec378955b1a591d2dff31caa01f5 (patch) | |
tree | a938af54c1dbbf9fe9d23098410e6dc4c8f9341b /contrib | |
parent | a5ad5d5c478ee7bebf057161bb8715ee7d286875 (diff) | |
download | gcc-fbbce1c6e98dec378955b1a591d2dff31caa01f5.zip gcc-fbbce1c6e98dec378955b1a591d2dff31caa01f5.tar.gz gcc-fbbce1c6e98dec378955b1a591d2dff31caa01f5.tar.bz2 |
changelog: Allow wildcard pattern only.
contrib/ChangeLog:
* gcc-changelog/git_commit.py: Allow wildcard pattern only.
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/gcc-changelog/git_commit.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gcc-changelog/git_commit.py b/contrib/gcc-changelog/git_commit.py index d0ac23c..5366d95 100755 --- a/contrib/gcc-changelog/git_commit.py +++ b/contrib/gcc-changelog/git_commit.py @@ -560,7 +560,7 @@ class GitCommit: mentioned_patterns = [] used_patterns = set() for entry in self.changelog_entries: - if not entry.files: + if not entry.files and not entry.file_patterns: msg = 'no files mentioned for ChangeLog in directory' self.errors.append(Error(msg, entry.folder)) assert not entry.folder.endswith('/') |