From 10a50d261e5504887b0702bea3876103ea461f2b Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Wed, 4 Nov 2020 10:57:28 +0100 Subject: [PATCH] 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. --- contrib/gcc-changelog/git_repository.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.30.2