aboutsummaryrefslogtreecommitdiff
path: root/Command/CheckPresentKey.hs
Commit message (Collapse)AuthorAge
* more lambda-case conversionGravatar Joey Hess2017-12-05
|
* 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.
* avoid --batch crashing if a remote fails to be accessedGravatar Joey Hess2016-02-12
|
* checkpresentkey: Allow to be run without an explicit remote and add --batchGravatar Joey Hess2016-02-12
| | | | | * checkpresentkey: Allow to be run without an explicit remote. * checkpresentkey: Added --batch.
* remove 163 lines of code without changing anything except importsGravatar Joey Hess2016-01-20
|
* convert all commands to work with optparse-applicativeGravatar Joey Hess2015-07-08
| | | | Still no options though.
* started converting to use optparse-applicativeGravatar Joey Hess2015-07-08
| | | | | | | | | | | | This is a work in progress. It compiles and is able to do basic command dispatch, including git autocorrection, while using optparse-applicative for the core commandline parsing. * Many commands are temporarily disabled before conversion. * Options are not wired in yet. * cmdnorepo actions don't work yet. Also, removed the [Command] list, which was only used in one place.
* checkpresentkey: New plumbing command to check if a key can be verified to ↵Gravatar Joey Hess2015-03-20
be present on a remote.