Merge "Fix: Change closes when pushing commit to other branch."
This commit is contained in:
@@ -2333,10 +2333,10 @@ public class ReceiveCommits {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (change.getStatus() == Change.Status.MERGED ||
|
if (change.getStatus() == Change.Status.MERGED ||
|
||||||
change.getStatus() == Change.Status.ABANDONED) {
|
change.getStatus() == Change.Status.ABANDONED ||
|
||||||
// If its already merged, don't make further updates, it
|
!change.getDest().get().equals(refName)) {
|
||||||
// might just be moving from an experimental branch into
|
// If it's already merged or the commit is not aimed for
|
||||||
// a more stable branch.
|
// this change's destination, don't make further updates.
|
||||||
//
|
//
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user