aboutsummaryrefslogtreecommitdiff
path: root/contrib/gcc-changelog/git_commit.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_commit.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_commit.py')
-rwxr-xr-xcontrib/gcc-changelog/git_commit.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/gcc-changelog/git_commit.py b/contrib/gcc-changelog/git_commit.py
index 4a3f969..c70279e 100755
--- a/contrib/gcc-changelog/git_commit.py
+++ b/contrib/gcc-changelog/git_commit.py
@@ -288,7 +288,7 @@ class GitInfo:
class GitCommit:
- def __init__(self, info, strict=True, commit_to_info_hook=None, ref_name=None):
+ def __init__(self, info, commit_to_info_hook=None, ref_name=None):
self.original_info = info
self.info = info
self.message = None
@@ -325,7 +325,7 @@ class GitCommit:
if len(project_files) == len(self.info.modified_files):
# All modified files are only MISC files
return
- elif project_files and strict:
+ elif project_files:
self.errors.append(Error('ChangeLog, DATESTAMP, BASE-VER and '
'DEV-PHASE updates should be done '
'separately from normal commits'))