Add support for commit's committers
redrabbit opened this issue · comments
Mario Flach commented
Currently, we only take the author of commits into account. As we move towards web-based Git actions, we might want to use the committer field.
The committer should also be used in order to match GPG signed commits with verified emails (currently, the author's email is used).
- Add
GitRekt.Git.commit_committer/1
NIF (seegit_commit_committer
). - Add
GitRekt.GitAgent.commit_committer/2
. - Add
:committer_name
and:committer_email
toGitGud.Commit
schema. - Show committer (if different than author) when listing commits.
- Use
GitGud.Commit
's:commiter_email
instead of:author_email
for GPG signed commits.