summaryrefslogtreecommitdiff
path: root/Command/Unused.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Unused.hs')
-rw-r--r--Command/Unused.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Command/Unused.hs b/Command/Unused.hs
index 5422dad69..4389b2209 100644
--- a/Command/Unused.hs
+++ b/Command/Unused.hs
@@ -68,7 +68,7 @@ checkRemoteUnused' r = do
showNote $ "checking for unused data..."
g <- Annex.gitRepo
referenced <- getKeysReferenced
- logged <- liftIO $ loggedKeys g
+ logged <- loggedKeys g
remotehas <- filterM isthere logged
let remoteunused = remotehas `exclude` referenced
let list = number 0 remoteunused
@@ -79,7 +79,7 @@ checkRemoteUnused' r = do
where
isthere k = do
g <- Annex.gitRepo
- us <- liftIO $ keyLocations g k
+ us <- keyLocations g k
return $ uuid `elem` us
uuid = Remote.uuid r