Merge branch 'issue_3854' into 'master'

Downcase commit author email for matching with users

Closes #3854 

See merge request !1992
This commit is contained in:
Dmitriy Zaporozhets
2015-12-09 21:27:47 +00:00
+2 -2
View File
@@ -175,11 +175,11 @@ class Commit
end
def author
@author ||= User.find_by_any_email(author_email)
@author ||= User.find_by_any_email(author_email.downcase)
end
def committer
@committer ||= User.find_by_any_email(committer_email)
@committer ||= User.find_by_any_email(committer_email.downcase)
end
def parents