Merge branch 'master' of github.com:gitlabhq/gitlabhq

This commit is contained in:
vsizov 2012-01-28 16:42:14 +03:00
commit 6572d96bb5
4 changed files with 23 additions and 4 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