mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 22:10:55 +01:00
Add activeDiffPHID
to differential.query
Summary: Ref T4809. This saves us a few round trips to find a Buildable, and generally makes the notion of "active" more explicit (i.e., not just the diff with the largest ID). In the future, we may let you revert to previous diffs, which would make the "largest number" rule not always correct. Test Plan: Ran `differential.query`, got sensible results. Reviewers: btrahan Reviewed By: btrahan Subscribers: epriestley Maniphest Tasks: T4809 Differential Revision: https://secure.phabricator.com/D8800
This commit is contained in:
parent
0ef599e906
commit
62973e0f53
1 changed files with 1 additions and 0 deletions
|
@ -218,6 +218,7 @@ final class ConduitAPI_differential_query_Method
|
|||
'summary' => $revision->getSummary(),
|
||||
'testPlan' => $revision->getTestPlan(),
|
||||
'lineCount' => $revision->getLineCount(),
|
||||
'activeDiffPHID' => $diff->getPHID(),
|
||||
'diffs' => $revision->getDiffIDs(),
|
||||
'commits' => $revision->getCommitPHIDs(),
|
||||
'reviewers' => array_values($revision->getReviewers()),
|
||||
|
|
Loading…
Reference in a new issue