diff options
author | Joey Hess <joey@kitenet.net> | 2012-04-12 15:34:41 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-04-12 15:37:21 -0400 |
commit | 52a158a7c6b9b7df93db30dfc802c8c350524951 (patch) | |
tree | 4dbe0e83577937cf36bd893f574a2c12046cdaf5 /GitAnnex.hs | |
parent | fa45175210319bfe771b15c539cf39905eb1a3c1 (diff) |
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.
Diffstat (limited to 'GitAnnex.hs')
-rw-r--r-- | GitAnnex.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/GitAnnex.hs b/GitAnnex.hs index 4a0888b53..52886c308 100644 --- a/GitAnnex.hs +++ b/GitAnnex.hs @@ -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 |