diff options
Diffstat (limited to 'contrib/gcc-changelog/git_repository.py')
-rwxr-xr-x | contrib/gcc-changelog/git_repository.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/gcc-changelog/git_repository.py b/contrib/gcc-changelog/git_repository.py index 501c0d9..2d68882 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, decode_path -def parse_git_revisions(repo_path, revisions, strict=True, ref_name=None): +def parse_git_revisions(repo_path, revisions, ref_name=None): repo = Repo(repo_path) def commit_to_info(commit): @@ -72,7 +72,7 @@ def parse_git_revisions(repo_path, revisions, strict=True, ref_name=None): commits = [repo.commit(revisions)] for commit in commits: - git_commit = GitCommit(commit_to_info(commit.hexsha), strict=strict, + git_commit = GitCommit(commit_to_info(commit.hexsha), commit_to_info_hook=commit_to_info, ref_name=ref_name) parsed_commits.append(git_commit) |