Fix committer identity on cherry-pick
Instead of storing "<san|account-1000371@unknown>" for the committer email address store the preferred email from the user account. We broke this behavior back when I refactored the way PersonIdent was created from an IdentifiedUser instance. Bug: issue 356 Change-Id: Ia12446db165041e6aa1bc2222171b0d9296dc9b7 Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
@@ -193,7 +193,7 @@ final class Receive extends AbstractGitCommand {
|
||||
if (project.isUseContributorAgreements()) {
|
||||
verifyActiveContributorAgreement();
|
||||
}
|
||||
refLogIdent = currentUser.newPersonIdent();
|
||||
refLogIdent = currentUser.newRefLogIdent();
|
||||
|
||||
verifyProjectVisible("reviewer", reviewerId);
|
||||
verifyProjectVisible("CC", ccId);
|
||||
|
Reference in New Issue
Block a user