redrabbit / git.limo

A Git source code management tool powered by Elixir with easy installation & high extensibility.

Home Page:https://git.limo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for commit's committers

redrabbit opened this issue · comments

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 (see git_commit_committer).
  • Add GitRekt.GitAgent.commit_committer/2.
  • Add :committer_name and :committer_email to GitGud.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.