diff options
author | Martin Liska <mliska@suse.cz> | 2021-05-24 09:16:01 +0200 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2021-05-24 09:18:44 +0200 |
commit | 9d38e096c5e3b1c2233b28d0e6ff8ee81517af56 (patch) | |
tree | bd7ae6b8ef840f4be3bd1be1f565fc008c0fd2bf /contrib/gcc-changelog/git_commit.py | |
parent | dc084c487e997e7f47cee55467628ade4488538b (diff) | |
download | gcc-9d38e096c5e3b1c2233b28d0e6ff8ee81517af56.zip gcc-9d38e096c5e3b1c2233b28d0e6ff8ee81517af56.tar.gz gcc-9d38e096c5e3b1c2233b28d0e6ff8ee81517af56.tar.bz2 |
gcc-changelog: Add note about ChangeLog entries
contrib/ChangeLog:
* gcc-changelog/git_commit.py: Add note that ChangeLog entries
are added automatically.
* gcc-changelog/test_email.py: Update test.
Diffstat (limited to 'contrib/gcc-changelog/git_commit.py')
-rwxr-xr-x | contrib/gcc-changelog/git_commit.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/contrib/gcc-changelog/git_commit.py b/contrib/gcc-changelog/git_commit.py index 4958ab9..bd8c1ff 100755 --- a/contrib/gcc-changelog/git_commit.py +++ b/contrib/gcc-changelog/git_commit.py @@ -326,9 +326,11 @@ class GitCommit: # All modified files are only MISC files return elif project_files: - self.errors.append(Error('ChangeLog, DATESTAMP, BASE-VER and ' - 'DEV-PHASE updates should be done ' - 'separately from normal commits')) + err = 'ChangeLog, DATESTAMP, BASE-VER and DEV-PHASE updates ' \ + 'should be done separately from normal commits\n' \ + '(note: ChangeLog entries will be automatically ' \ + 'added by a cron job)' + self.errors.append(Error(err)) return all_are_ignored = (len(project_files) + len(ignored_files) |