autocorrection
git-annex (but not git-annex-shell) supports the git help.autocorrect configuration setting, doing fuzzy matching using the restricted Damerau-Levenshtein edit distance, just as git does. This adds a build dependency on the haskell edit-distance library.
This commit is contained in:
parent
fa45175210
commit
52a158a7c6
8 changed files with 115 additions and 21 deletions
|
@ -131,4 +131,4 @@ header :: String
|
|||
header = "Usage: git-annex command [option ..]"
|
||||
|
||||
run :: [String] -> IO ()
|
||||
run args = dispatch args cmds options header Git.Construct.fromCurrent
|
||||
run args = dispatch True args cmds options header Git.Construct.fromCurrent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue