Merge "Rebase: Use committer identity in new commit"

This commit is contained in:
Shawn Pearce 2015-11-03 17:56:55 +00:00 committed by Gerrit Code Review
commit bea876e4e9

View File

@ -199,7 +199,7 @@ public class RebaseChangeOp extends BatchUpdate.Op {
cb.setCommitter(committerIdent);
} else {
cb.setCommitter(ctx.getUser().asIdentifiedUser()
.newRefLogIdent(ctx.getWhen(), ctx.getTimeZone()));
.newCommitterIdent(ctx.getWhen(), ctx.getTimeZone()));
}
ObjectId objectId = ctx.getInserter().insert(cb);
ctx.getInserter().flush();