mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-10 00:42:40 +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:
parent
41e8e30e8c
commit
c75b671b22
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ final class ArcanistDiffUtils extends Phobject {
|
||||||
->setReplaceCost(2)
|
->setReplaceCost(2)
|
||||||
->setMaximumLength($max)
|
->setMaximumLength($max)
|
||||||
->setSequences($ov, $nv)
|
->setSequences($ov, $nv)
|
||||||
->setApplySmoothing(true)
|
->setApplySmoothing(PhutilEditDistanceMatrix::SMOOTHING_INTERNAL)
|
||||||
->getEditString();
|
->getEditString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue