diff options
author | Joey Hess <joey@kitenet.net> | 2011-10-30 20:04:15 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-10-31 12:15:38 -0400 |
commit | e09dd6f306b3f69718c77a03364ee9e51a51bb3b (patch) | |
tree | f9229dcd56a8d481f186b94f1ecc458e4e038555 /Checks.hs | |
parent | 1530eac31294347a83c2a7973aa2c27ede9184f3 (diff) |
cleanup
Diffstat (limited to 'Checks.hs')
-rw-r--r-- | Checks.hs | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -31,9 +31,6 @@ toOpt = CommandCheck 2 $ do v <- Annex.getState Annex.toremote unless (v == Nothing) $ error "cannot use --to with this command" -checkCommand :: Command -> Annex () -checkCommand Command { cmdcheck = c } = sequence_ $ map runCheck c - dontCheck :: CommandCheck -> Command -> Command dontCheck check cmd = mutateCheck cmd $ \c -> filter (/= check) c |