Mark changes new if a patchset has been added to them
This moves the change out of the SUBMITTED state, as it must once again be reviewed now that a new patch set has been put into it. Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
@@ -542,6 +542,7 @@ class Receive extends AbstractGitCommand {
|
||||
}
|
||||
}
|
||||
|
||||
change.setStatus(Change.Status.NEW);
|
||||
change.setCurrentPatchSet(imp.getPatchSetInfo());
|
||||
change.updated();
|
||||
db.changes().update(Collections.singleton(change));
|
||||
|
||||
Reference in New Issue
Block a user