From 52a158a7c6b9b7df93db30dfc802c8c350524951 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 12 Apr 2012 15:34:41 -0400 Subject: 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. --- git-annex.cabal | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'git-annex.cabal') diff --git a/git-annex.cabal b/git-annex.cabal index e047bb285..0f2858985 100644 --- a/git-annex.cabal +++ b/git-annex.cabal @@ -1,5 +1,5 @@ Name: git-annex -Version: 3.20120406 +Version: 3.20120407 Cabal-Version: >= 1.8 License: GPL Maintainer: Joey Hess @@ -32,7 +32,7 @@ Executable git-annex unix, containers, utf8-string, network, mtl, bytestring, old-locale, time, pcre-light, extensible-exceptions, dataenc, SHA, process, hS3, json, HTTP, base >= 4.5, base < 5, monad-control, transformers-base, lifted-base, - IfElse, text, QuickCheck >= 2.1, bloomfilter + IfElse, text, QuickCheck >= 2.1, bloomfilter, edit-distance Other-Modules: Utility.Touch C-Sources: Utility/diskfree.c -- cgit v1.2.3