Merge "Rebase: Use committer identity in new commit"
This commit is contained in:
commit
bea876e4e9
@ -199,7 +199,7 @@ public class RebaseChangeOp extends BatchUpdate.Op {
|
|||||||
cb.setCommitter(committerIdent);
|
cb.setCommitter(committerIdent);
|
||||||
} else {
|
} else {
|
||||||
cb.setCommitter(ctx.getUser().asIdentifiedUser()
|
cb.setCommitter(ctx.getUser().asIdentifiedUser()
|
||||||
.newRefLogIdent(ctx.getWhen(), ctx.getTimeZone()));
|
.newCommitterIdent(ctx.getWhen(), ctx.getTimeZone()));
|
||||||
}
|
}
|
||||||
ObjectId objectId = ctx.getInserter().insert(cb);
|
ObjectId objectId = ctx.getInserter().insert(cb);
|
||||||
ctx.getInserter().flush();
|
ctx.getInserter().flush();
|
||||||
|
Loading…
Reference in New Issue
Block a user