diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-03-27 14:16:34 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-04-02 11:57:01 +0300 |
commit | d9698628d9042e820917e1144535888da147c228 (patch) | |
tree | 2e503064c3f84c431d690a1cea2cb5a9607238e2 /app/services/git_push_service.rb | |
parent | 403b727138e22ce8ba83332ab03fa21fb7f72a1c (diff) |
Add Commit#author and #committer.
Diffstat (limited to 'app/services/git_push_service.rb')
-rw-r--r-- | app/services/git_push_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/git_push_service.rb b/app/services/git_push_service.rb index 1f0b29dff5e..bb066e39f6b 100644 --- a/app/services/git_push_service.rb +++ b/app/services/git_push_service.rb @@ -127,6 +127,6 @@ class GitPushService end def commit_user(commit) - User.find_for_commit(commit.author_email, commit.author_name) || user + commit.author || user end end |