Add oldObjectId and newObjectId to the GitReferenceUpdatedListener.Update
This is a first step towards creation of the "reviewnotes" plugin and removing this code from the Gerrit core. The reviewnotes plugin will listen on GitReferenceUpdated and will need old and new values in order to know which commits become part of the changed refs history. Change-Id: If5f3598adb209a9b473c5ea4a07bf8a95f838139 Signed-off-by: Sasa Zivkov <sasa.zivkov@sap.com>
This commit is contained in:

committed by
Edwin Kempin

parent
57462b7766
commit
c21f309f71
@@ -23,6 +23,8 @@ import java.util.List;
|
||||
public interface GitReferenceUpdatedListener {
|
||||
public interface Update {
|
||||
String getRefName();
|
||||
String getOldObjectId();
|
||||
String getNewObjectId();
|
||||
}
|
||||
|
||||
public interface Event {
|
||||
|
Reference in New Issue
Block a user