Rebase: Use committer identity in new commit
The RefLogIdent should only be used in RefLogs. Never in long term commit objects. Change-Id: Ib32dec5ad463b23b4e967b503dacc4643daec673
This commit is contained in:
parent
b54d38dcbe
commit
933cdf5966
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user