Differential D9293 Diff 22332 src/applications/repository/worker/commitmessageparser/PhabricatorRepositoryCommitMessageParserWorker.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/worker/commitmessageparser/PhabricatorRepositoryCommitMessageParserWorker.php
Show First 20 Lines • Show All 376 Lines • ▼ Show 20 Lines | foreach ($changesets as $path => $changeset) { | ||||
// -(empty line) | // -(empty line) | ||||
// -echo 'test'; | // -echo 'test'; | ||||
// (empty line) | // (empty line) | ||||
// | // | ||||
// (empty line) | // (empty line) | ||||
// -echo "test"; | // -echo "test"; | ||||
// -(empty line) | // -(empty line) | ||||
$hunk = id(new DifferentialHunkLegacy())->setChanges($context); | $hunk = id(new DifferentialHunkModern())->setChanges($context); | ||||
$vs_hunk = id(new DifferentialHunkLegacy())->setChanges($vs_context); | $vs_hunk = id(new DifferentialHunkModern())->setChanges($vs_context); | ||||
if ($hunk->makeOldFile() != $vs_hunk->makeOldFile() || | if ($hunk->makeOldFile() != $vs_hunk->makeOldFile() || | ||||
$hunk->makeNewFile() != $vs_hunk->makeNewFile()) { | $hunk->makeNewFile() != $vs_hunk->makeNewFile()) { | ||||
return $vs_diff; | return $vs_diff; | ||||
} | } | ||||
} | } | ||||
} | } | ||||
return null; | return null; | ||||
▲ Show 20 Lines • Show All 118 Lines • Show Last 20 Lines |