aboutsummaryrefslogtreecommitdiff
path: root/contrib/gcc-changelog/git_email.py
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2021-05-10 14:13:53 +0200
committerMartin Liska <mliska@suse.cz>2021-05-11 10:55:07 +0200
commit8f67bf25a48a6fd235bdba13c8708a686d942772 (patch)
tree29cae2404259bd1d79cc1ca6a7e6dd2ff01de169 /contrib/gcc-changelog/git_email.py
parent772e5e82e3114f6faccb549cfcc30c06b4678354 (diff)
downloadgcc-8f67bf25a48a6fd235bdba13c8708a686d942772.zip
gcc-8f67bf25a48a6fd235bdba13c8708a686d942772.tar.gz
gcc-8f67bf25a48a6fd235bdba13c8708a686d942772.tar.bz2
gcc-changelog: Remove non-strict mode.
contrib/ChangeLog: * gcc-changelog/git_check_commit.py: Remove --non-strict-mode. * gcc-changelog/git_commit.py: Remove strict mode. * gcc-changelog/git_email.py: Likewise. * gcc-changelog/git_repository.py: Likewise. * gcc-changelog/test_email.py: Likewise. * gcc-changelog/test_patches.txt: Update patches so that they don't contain a ChangeLog file changes.
Diffstat (limited to 'contrib/gcc-changelog/git_email.py')
-rwxr-xr-xcontrib/gcc-changelog/git_email.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/gcc-changelog/git_email.py b/contrib/gcc-changelog/git_email.py
index 65ccb8c..6933e3d 100755
--- a/contrib/gcc-changelog/git_email.py
+++ b/contrib/gcc-changelog/git_email.py
@@ -32,7 +32,7 @@ unidiff_supports_renaming = hasattr(PatchedFile(), 'is_rename')
class GitEmail(GitCommit):
- def __init__(self, filename, strict=False):
+ def __init__(self, filename):
self.filename = filename
diff = PatchSet.from_filename(filename)
date = None
@@ -68,7 +68,7 @@ class GitEmail(GitCommit):
t = 'M'
modified_files.append((target if t != 'D' else source, t))
git_info = GitInfo(None, date, author, body, modified_files)
- super().__init__(git_info, strict=strict,
+ super().__init__(git_info,
commit_to_info_hook=lambda x: None)