mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-23 15:22:41 +01:00
Return the changeset ID as part of the changeset dict
Summary: getDiffDict method returns the JSON for the changesets in a diff The JSON descriping a changeset didn't containt the changeset ID in some scenarios, knowing the changeset ID is really useful for the clients.(i.e. when you want to open a standalone view of the changeset, you need to know its ID) Test Plan: existing Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D5816
This commit is contained in:
parent
bda2c5784d
commit
89747c0ea4
1 changed files with 1 additions and 0 deletions
|
@ -219,6 +219,7 @@ final class DifferentialDiff extends DifferentialDAO {
|
|||
);
|
||||
}
|
||||
$change = array(
|
||||
'id' => $changeset->getID(),
|
||||
'metadata' => $changeset->getMetadata(),
|
||||
'oldPath' => $changeset->getOldFile(),
|
||||
'currentPath' => $changeset->getFilename(),
|
||||
|
|
Loading…
Reference in a new issue