aboutsummaryrefslogtreecommitdiff
path: root/Git/AutoCorrect.hs
Commit message (Collapse)AuthorAge
* Avoid backtraces on expected failures when built with ghc 8; only use ↵Gravatar Joey Hess2016-11-15
| | | | | | | | | | | | | backtraces for unexpected errors. ghc 8 added backtraces on uncaught errors. This is great, but git-annex was using error in many places for a error message targeted at the user, in some known problem case. A backtrace only confuses such a message, so omit it. Notably, commands like git annex drop that failed due to eg, numcopies, used to use error, so had a backtrace. This commit was sponsored by Ethan Aubin.
* update my email address and homepage urlGravatar Joey Hess2015-01-21
|
* Fix handing of autocorrection when running outside a git repository.Gravatar Joey Hess2014-08-23
| | | | | | Old behavior was to take the first fuzzy match. Now, it checks the globa git config, and runs the normal fuzzy handling, including failing to run a semi-random command by default.
* Another round of s/amoung/among/Gravatar Richard Hartmann2013-12-19
|
* finished where indentation changesGravatar Joey Hess2012-12-13
|
* compute distance in correct directionGravatar Joey Hess2012-04-14
|
* autocorrectionGravatar Joey Hess2012-04-12
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.