Differential D13222 Diff 32160 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 425 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 DifferentialModernHunk())->setChanges($context); | $hunk = id(new DifferentialHunk())->setChanges($context); | ||||
$vs_hunk = id(new DifferentialModernHunk())->setChanges($vs_context); | $vs_hunk = id(new DifferentialHunk())->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 102 Lines • Show Last 20 Lines |