Close changes oldest-change-first when merging on push
This is the order that "all" submit strategies closes changes. Bug: Issue 11082 Change-Id: Iaa76251645d8048983b0688122f98f2d74201821
This commit is contained in:
committed by
Sven Selberg
parent
87b2b35d16
commit
ac4219971b
@@ -3094,6 +3094,7 @@ class ReceiveCommits {
|
||||
Branch.NameKey branch = new Branch.NameKey(project.getNameKey(), refName);
|
||||
|
||||
rw.reset();
|
||||
rw.sort(RevSort.REVERSE);
|
||||
rw.markStart(newTip);
|
||||
if (!ObjectId.zeroId().equals(cmd.getOldId())) {
|
||||
rw.markUninteresting(rw.parseCommit(cmd.getOldId()));
|
||||
|
||||
Reference in New Issue
Block a user