From: Martin Liska Date: Wed, 4 Nov 2020 09:57:28 +0000 (+0100) Subject: gcc-changelog: Change parse_git_revisions strict argument to True. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=10a50d261e5504887b0702bea3876103ea461f2b;p=gcc.git 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. --- 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):