changelog: Allow wildcard pattern only.
contrib/ChangeLog: * gcc-changelog/git_commit.py: Allow wildcard pattern only.
This commit is contained in:
parent
a5ad5d5c47
commit
fbbce1c6e9
@ -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('/')
|
||||
|
Loading…
Reference in New Issue
Block a user