diff options
author | Martin Liska <mliska@suse.cz> | 2022-08-02 10:50:07 +0200 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2022-08-02 10:50:07 +0200 |
commit | c2d074293824cf8d4b24f00d94013124214e6fe5 (patch) | |
tree | d03da3f73e4fe6a9b4fd07f0d7c9e9d3f45cef42 /contrib/gcc-changelog/git_commit.py | |
parent | c30bbd4d169c98b7535a30384c6a971ee875fa44 (diff) | |
download | gcc-c2d074293824cf8d4b24f00d94013124214e6fe5.zip gcc-c2d074293824cf8d4b24f00d94013124214e6fe5.tar.gz gcc-c2d074293824cf8d4b24f00d94013124214e6fe5.tar.bz2 |
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.
Diffstat (limited to 'contrib/gcc-changelog/git_commit.py')
-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 a6b5ff0..7f6ff87 100755 --- a/contrib/gcc-changelog/git_commit.py +++ b/contrib/gcc-changelog/git_commit.py @@ -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) |