]> khamidou — GitHub mirrors - arcanist.git/commit
Use PhutilEditDistanceMatrix in ArcanistDiffUtils
authorepriestley <git@epriestley.com>
Thu, 23 May 2013 21:36:42 +0000 (14:36 -0700)
committerepriestley <git@epriestley.com>
Thu, 23 May 2013 21:36:42 +0000 (14:36 -0700)
commit24d54a5fbd17b302fd17d861a325ce5d75bef84c
tree8ec5c1c2554d0a23fbcae2a196285680c22d9abd
parent4c37e6ff4ada95c9e1a46caff151f7cd08d38157
Use PhutilEditDistanceMatrix in ArcanistDiffUtils

Summary: Replace this old hard-coded implementation with the new vector-based, unicode-capable one.

Test Plan: Ran unit tests. Looked at revisions in Differential, using whitespace modes to bypass cache.

Reviewers: btrahan, Afaque_Hussain

Reviewed By: btrahan

CC: aran
Maniphest Tasks: T2379

Differential Revision: https://secure.phabricator.com/D6016
src/difference/ArcanistDiffUtils.php
src/difference/__tests__/ArcanistDiffUtilsTestCase.php
src/unit/engine/phutil/ArcanistPhutilTestCase.php