mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-27 05:44:15 +08:00
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
@ -626,7 +626,7 @@ class GitCommit:
|
||||
|
||||
def deduce_changelog_locations(self):
|
||||
for entry in self.changelog_entries:
|
||||
if not entry.folder:
|
||||
if entry.folder is None:
|
||||
changelog = None
|
||||
for file in entry.files:
|
||||
location = self.get_file_changelog_location(file)
|
||||
|
Loading…
Reference in New Issue
Block a user