summaryrefslogtreecommitdiff
path: root/Command/Unused.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Unused.hs')
-rw-r--r--Command/Unused.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Command/Unused.hs b/Command/Unused.hs
index 4389b2209..5d4e433ad 100644
--- a/Command/Unused.hs
+++ b/Command/Unused.hs
@@ -78,8 +78,7 @@ checkRemoteUnused' r = do
showLongNote $ "\n"
where
isthere k = do
- g <- Annex.gitRepo
- us <- keyLocations g k
+ us <- keyLocations k
return $ uuid `elem` us
uuid = Remote.uuid r