better name for continuation

This commit is contained in:
Joey Hess 2013-12-01 15:52:30 -04:00
parent 0b14af30ab
commit 12bc989d2d

View file

@ -236,7 +236,7 @@ verifyLocationLogRemote key desc remote present =
(Remote.logStatus remote key) (Remote.logStatus remote key)
verifyLocationLog' :: Key -> String -> Bool -> UUID -> (LogStatus -> Annex ()) -> Annex Bool verifyLocationLog' :: Key -> String -> Bool -> UUID -> (LogStatus -> Annex ()) -> Annex Bool
verifyLocationLog' key desc present u bad = do verifyLocationLog' key desc present u updatestatus = do
uuids <- Remote.keyLocations key uuids <- Remote.keyLocations key
case (present, u `elem` uuids) of case (present, u `elem` uuids) of
(True, False) -> do (True, False) -> do
@ -254,7 +254,7 @@ verifyLocationLog' key desc present u bad = do
where where
fix s = do fix s = do
showNote "fixing location log" showNote "fixing location log"
bad s updatestatus s
{- Ensures the direct mode mapping file is consistent. Each file {- Ensures the direct mode mapping file is consistent. Each file
- it lists for the key should exist, and the specified file should be - it lists for the key should exist, and the specified file should be