gcc-changelog: Improve git_commit.py diagnostics
authorJonathan Wakely <jwakely@redhat.com>
Wed, 10 Jun 2020 07:36:34 +0000 (09:36 +0200)
committerMartin Liska <mliska@suse.cz>
Wed, 10 Jun 2020 07:36:34 +0000 (09:36 +0200)
commit1ea9a0b74e60e6cdca6372403d7bd564a5410d82
treef87ac425ae9ba542a13ca26d561c26028462e458
parentb952c2cfcd74c284970e1b9bf1fca58f5f69ab23
gcc-changelog: Improve git_commit.py diagnostics

This changes some error messages to be more self-consistent and to fix
some grammar.

contrib/ChangeLog:

* gcc-changelog/git_commit.py (GitCommit.parse_changelog):
Improve error strings.
* gcc-changelog/test_email.py: Update expected errors.
contrib/gcc-changelog/git_commit.py
contrib/gcc-changelog/test_email.py