gcc-changelog: do not run extra deduction
Do not deduce changelog for root ChangeLog (''). contrib/ChangeLog: * gcc-changelog/git_commit.py: Do not deduce changelog for root ChangeLog.
This commit is contained in:
parent
c30bbd4d16
commit
c2d0742938
1 changed files with 1 additions and 1 deletions
|
@ -626,7 +626,7 @@ class GitCommit:
|
||||||
|
|
||||||
def deduce_changelog_locations(self):
|
def deduce_changelog_locations(self):
|
||||||
for entry in self.changelog_entries:
|
for entry in self.changelog_entries:
|
||||||
if not entry.folder:
|
if entry.folder is None:
|
||||||
changelog = None
|
changelog = None
|
||||||
for file in entry.files:
|
for file in entry.files:
|
||||||
location = self.get_file_changelog_location(file)
|
location = self.get_file_changelog_location(file)
|
||||||
|
|
Loading…
Add table
Reference in a new issue