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

Use "internal" smoothing for code diffs in Arcanist

Summary: Ref T7643. This moves the prefix/suffix smoothing behavior back to the old one, which seems better for code diffs.

Test Plan: `arc unit --everything`

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T7643

Differential Revision: https://secure.phabricator.com/D16074
This commit is contained in:
epriestley 2016-06-07 13:44:45 -07:00
parent 41e8e30e8c
commit c75b671b22

View file

@ -151,7 +151,7 @@ final class ArcanistDiffUtils extends Phobject {
->setReplaceCost(2)
->setMaximumLength($max)
->setSequences($ov, $nv)
->setApplySmoothing(true)
->setApplySmoothing(PhutilEditDistanceMatrix::SMOOTHING_INTERNAL)
->getEditString();
}