]> git.ipfire.org Git - thirdparty/gcc.git/commit
contrib/gcc-changelog: Check whether revert-commit exists
authorTobias Burnus <tobias@codesourcery.com>
Thu, 7 Sep 2023 10:35:02 +0000 (12:35 +0200)
committerTobias Burnus <tobias@codesourcery.com>
Thu, 7 Sep 2023 10:39:39 +0000 (12:39 +0200)
commitff20bce9f5879878f352f1fcd6ade023a2067598
treee5be16d15c1a8f9922f1bd11797b864cd8e61feb
parent1aee5d2ace9ea8f35baf5b18e36caf44fe018ea3
contrib/gcc-changelog: Check whether revert-commit exists

contrib/ChangeLog:

* gcc-changelog/git_commit.py (GitCommit.__init__):
Handle commit_to_info_hook = None; otherwise, if None,
regard it as error.
(to_changelog_entries): Handle commit_to_info_hook = None;
if info is None, create a warning for it.
* gcc-changelog/git_email.py (GitEmail.__init__):
call super() with commit_to_info_hook=None instead
of a lamda function.
contrib/gcc-changelog/git_commit.py
contrib/gcc-changelog/git_email.py