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:
parent
592172c775
commit
a45ef76a8f
1 changed files with 8 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue