Merge pull request #283 from veprbl/master

Display both author and committer in commits list
This commit is contained in:
Dmitriy Zaporozhets 2012-01-27 11:15:24 -08:00
commit 7d750cbf79
3 changed files with 22 additions and 3 deletions

View file

@ -5,10 +5,12 @@ class Commit
attr_accessor :refs
delegate :message,
:authored_date,
:committed_date,
:parents,
:sha,
:date,
:committer,
:author,
:message,
:diffs,
@ -37,6 +39,14 @@ class Commit
author.name
end
def committer_name
committer.name
end
def committer_email
committer.email
end
def prev_commit
parents.first
end