improve display of checking known urls

Display it as a separate action, so it ends with a newline
This commit is contained in:
Joey Hess 2017-02-28 14:41:08 -04:00
parent a62802af08
commit ddf68b7c48
No known key found for this signature in database
GPG key ID: C910D9222512E3C7

View file

@ -112,8 +112,9 @@ getCache :: Maybe String -> Annex Cache
getCache opttemplate = ifM (Annex.getState Annex.force) getCache opttemplate = ifM (Annex.getState Annex.force)
( ret S.empty S.empty ( ret S.empty S.empty
, do , do
showAction "checking known urls" showStart "importfeed" "checking known urls"
(is, us) <- unzip <$> (mapM knownItems =<< knownUrls) (is, us) <- unzip <$> (mapM knownItems =<< knownUrls)
showEndOk
ret (S.fromList us) (S.fromList (concat is)) ret (S.fromList us) (S.fromList (concat is))
) )
where where