mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-20 04:20:55 +01:00
Changed 'diffusion.getrecentcommitsbypath' to return only the direct and child
changes. Summary: It was incorrectly returning copies. Test Plan: Tested that the conduit call for 'tfb/trunk/www/last_min_rev.txt' matches https://phabricator.fb.com/diffusion/E/history/tfb/trunk/www/last_min_rev.txt Reviewed By: jungejason Reviewers: jungejason, epriestley, aran CC: aran, jungejason Differential Revision: 340
This commit is contained in:
parent
9498c3a0db
commit
3dd12e7cc6
1 changed files with 2 additions and 0 deletions
|
@ -50,6 +50,8 @@ class ConduitAPI_diffusion_getrecentcommitsbypath_Method
|
|||
)
|
||||
)
|
||||
->setLimit(self::RESULT_LIMIT)
|
||||
->needDirectChanges(true)
|
||||
->needChildChanges(true)
|
||||
->loadHistory();
|
||||
|
||||
$raw_commit_identifiers = mpull($history, 'getCommitIdentifier');
|
||||
|
|
Loading…
Reference in a new issue