{"push_id":651707102,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"4291e28af72890ee4f9c0f306ba691ba84c3435d","before":"0df317f7297b9a72e888edc09aed51f83414f92a","commits":[{"sha":"d386bb780864f4fc36490e19ea654f31bf193d0f","author":{"email":"878edc0dc73375f9ff7ee2a67ff8869f3ac63f71@gitlab.com","name":"Douwe Maan"},"message":"Allow primary email to be set to an email that you've already added.","distinct":true,"url":"https://api.github.com/repos/ikappas/gitlabhq/commits/d386bb780864f4fc36490e19ea654f31bf193d0f"},{"sha":"4291e28af72890ee4f9c0f306ba691ba84c3435d","author":{"email":"be23d75b156792e5acab51b196a2deb155d35d6a@gmail.com","name":"Dmitriy Zaporozhets"},"message":"Merge branch 'change-primary-email' into 'master'\n\nAllow primary email to be set to an email that you've already added.\n\nFixes gitlab-com/support-forum#106.\n\nWhen the user sets their primary email to an email that they've already added to their account, this patch makes sure that secondary email record is destroyed, and a new email record is created for the old primary email. This is based on the assumption that in this case no email was meant to be deleted, but the user simply wanted to change which of their emails is primary.\n\nSee merge request !591","distinct":true,"url":"https://api.github.com/repos/ikappas/gitlabhq/commits/4291e28af72890ee4f9c0f306ba691ba84c3435d"}]}