mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-03-04 03:10:50 +01:00
Adds an internal api call to determine a email address for a DisplayUser instance in class EMail. This was available only for the User class before, but there is no reason, why this should be limited. Additionally one can also set the author for the merge command as DisplayUser, which will trigger the fallback mechanisms for the email address, if it is missing. This is introduced to make merge commits possible for users without email addresses in the review plugin (scm-manager/scm-review-plugin#149).