mirror of
https://we.phorge.it/source/arcanist.git
synced 2025-02-27 14:09:10 +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;
|
return $obj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static function newFromConduit(array $dicts) {
|
||||||
|
$changes = array();
|
||||||
|
foreach ($dicts as $dict) {
|
||||||
|
$changes[] = self::newFromDictionary($dict);
|
||||||
|
}
|
||||||
|
return $changes;
|
||||||
|
}
|
||||||
|
|
||||||
public function getChangedLines($type) {
|
public function getChangedLines($type) {
|
||||||
$lines = array();
|
$lines = array();
|
||||||
foreach ($this->hunks as $hunk) {
|
foreach ($this->hunks as $hunk) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue