]> khamidou — GitHub mirrors - arcanist.git/commit
Fix filter/sort order of operations for british spellings
authorepriestley <git@epriestley.com>
Thu, 21 Feb 2013 18:15:20 +0000 (10:15 -0800)
committerepriestley <git@epriestley.com>
Thu, 21 Feb 2013 18:15:20 +0000 (10:15 -0800)
commite96db5412553c8324eda2d004b65ad39082a84c8
tree8c75cb2737fa7b268361191f0ff49f2562c6b935
parent5e7a458053b1bd2bb05a0e35d28000c5d81fd1b3
Fix filter/sort order of operations for british spellings

Summary: Currently, if we match "alnd" to "land" and "amend" equally (distance 2), we drop "land" with the other part of the rule. Stop doing that.

Test Plan:
Unit tests. Also:

```
$ arc alnd
Usage Exception: Unknown command 'alnd'. Try 'arc help'.

Did you mean:
    amend
    land
```

Reviewers: vrana

Reviewed By: vrana

CC: aran
Differential Revision: https://secure.phabricator.com/D5033
src/__phutil_library_map__.php
src/configuration/ArcanistConfiguration.php
src/configuration/__tests__/ArcanistBritishTestCase.php [new file with mode: 0644]