summaryrefslogtreecommitdiff
path: root/contrib/gcc-changelog
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2020-11-04 10:57:28 +0100
committerMartin Liska <mliska@suse.cz>2020-11-04 11:01:58 +0100
commit10a50d261e5504887b0702bea3876103ea461f2b (patch)
treec496c389d2096e43203ed0d3e82140f744c83768 /contrib/gcc-changelog
parent092cdbd9198497593fb034971d0f80fc931ab145 (diff)
downloadgcc-10a50d261e5504887b0702bea3876103ea461f2b.tar.gz
gcc-changelog: Change parse_git_revisions strict argument to True.
Change the default that is used by GIT server hook and also by git_update_version.py. Both should use True now. contrib/ChangeLog: * gcc-changelog/git_repository.py: Set strict=True for parse_git_revisions as a default.
Diffstat (limited to 'contrib/gcc-changelog')
-rwxr-xr-xcontrib/gcc-changelog/git_repository.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gcc-changelog/git_repository.py b/contrib/gcc-changelog/git_repository.py
index 90edc3ce3d8..8edcff91ad6 100755
--- a/contrib/gcc-changelog/git_repository.py
+++ b/contrib/gcc-changelog/git_repository.py
@@ -29,7 +29,7 @@ except ImportError:
from git_commit import GitCommit, GitInfo
-def parse_git_revisions(repo_path, revisions, strict=False):
+def parse_git_revisions(repo_path, revisions, strict=True):
repo = Repo(repo_path)
def commit_to_info(commit):