1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-29 18:22:41 +01:00

Arcanist changes related to T2784

Summary: These were in my sandbox, but I forgot about them. Without this things break post D5896. Ref T2784

Test Plan: my sandbox works and soon so shall others

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Maniphest Tasks: T2784

Differential Revision: https://secure.phabricator.com/D5929
This commit is contained in:
Bob Trahan 2013-05-14 15:24:20 -07:00
parent 592172c775
commit a45ef76a8f

View file

@ -88,6 +88,14 @@ final class ArcanistDiffChange {
return $obj;
}
public static function newFromConduit(array $dicts) {
$changes = array();
foreach ($dicts as $dict) {
$changes[] = self::newFromDictionary($dict);
}
return $changes;
}
public function getChangedLines($type) {
$lines = array();
foreach ($this->hunks as $hunk) {