Skip to content

git author is the committer #14

@natestedman

Description

@natestedman

In git.py you're doing:

    return Commit(commit.id, commit.committer,
        datetime.fromtimestamp(commit.commit_time), commit.message, files,
        lambda: generate_unified_diff(self, files, parent, commit.id))

But this sets the author of the commit to the committer, which isn't always the case. It should be:

    return Commit(commit.id, commit.author,
        datetime.fromtimestamp(commit.commit_time), commit.message, files,
        lambda: generate_unified_diff(self, files, parent, commit.id))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions