diff options
author | Tobias Burnus <tobias@codesourcery.com> | 2023-09-07 13:00:55 +0200 |
---|---|---|
committer | Tobias Burnus <tobias@codesourcery.com> | 2023-09-07 13:00:55 +0200 |
commit | 1b0934b7276cc24e20c25dc22aa08268f4b00444 (patch) | |
tree | e5be16d15c1a8f9922f1bd11797b864cd8e61feb | |
parent | 69e83181ebcb2edffd179a493d35d9a2a9612163 (diff) | |
download | gcc-1b0934b7276cc24e20c25dc22aa08268f4b00444.zip gcc-1b0934b7276cc24e20c25dc22aa08268f4b00444.tar.gz gcc-1b0934b7276cc24e20c25dc22aa08268f4b00444.tar.bz2 |
Revert "contrib/gcc-changelog: Check whether revert-commit exists"
This reverts commit ffffffffffffffffffffffffffffffffffffffff.
This checks whether the pre-commit hook of the mentioned commit
triggers and rejects this commit due to the bogus commit hash.
This commit actually does not revert that patch but fixes that
patch as 'technically' was accidently re-added in the second
commit.
-rwxr-xr-x | contrib/gcc-changelog/git_commit.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/gcc-changelog/git_commit.py b/contrib/gcc-changelog/git_commit.py index 4f1bd4d..9110317 100755 --- a/contrib/gcc-changelog/git_commit.py +++ b/contrib/gcc-changelog/git_commit.py @@ -331,7 +331,7 @@ class GitCommit: if self.revert_commit: # The following happens for get_email.py: if not self.commit_to_info_hook: - self.warnings.append(f"Invoked script can technically not obtain info about " + self.warnings.append(f"Invoked script can not obtain info about " f"reverted commits such as '{self.revert_commit}'") return self.info = self.commit_to_info_hook(self.revert_commit) @@ -810,7 +810,7 @@ class GitCommit: if self.commit_to_info_hook: self.warnings.append(f"Cherry-picked commit not found: '{self.cherry_pick_commit}'") else: - self.warnings.append(f"Invoked script can technically not obtain info about " + self.warnings.append(f"Invoked script can not obtain info about " f"cherry-picked commits such as '{self.revert_commit}'") timestamp = current_timestamp elif not timestamp or use_commit_ts: |