1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-19 20:10: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:
tuomaspelkonen 2011-05-24 16:02:53 -07:00
parent 9498c3a0db
commit 3dd12e7cc6

View file

@ -50,6 +50,8 @@ class ConduitAPI_diffusion_getrecentcommitsbypath_Method
)
)
->setLimit(self::RESULT_LIMIT)
->needDirectChanges(true)
->needChildChanges(true)
->loadHistory();
$raw_commit_identifiers = mpull($history, 'getCommitIdentifier');