summaryrefslogtreecommitdiff
path: root/app/services/git_push_service.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-10-19 11:34:48 +0200
committerDouwe Maan <douwe@gitlab.com>2015-10-19 11:34:48 +0200
commit7ae139566b46050b31bf01a6302af560fc129819 (patch)
treecc342c422373d89d12aa763a8a924d241192b4a1 /app/services/git_push_service.rb
parenta32f7766098bf38b1028168b4919516460a562e9 (diff)
parent8adeda37b55fc992e3cb15422cae5d9646640630 (diff)
downloadgitlab-ce-full-width-tables.tar.gz
Merge branch 'master' into full-width-tablesfull-width-tables
Diffstat (limited to 'app/services/git_push_service.rb')
-rw-r--r--app/services/git_push_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/git_push_service.rb b/app/services/git_push_service.rb
index e54044365b9..3de7bb9dcaa 100644
--- a/app/services/git_push_service.rb
+++ b/app/services/git_push_service.rb
@@ -79,7 +79,7 @@ class GitPushService
authors = Hash.new do |hash, commit|
email = commit.author_email
- return hash[email] if hash.has_key?(email)
+ next hash[email] if hash.has_key?(email)
hash[email] = commit_user(commit)
end