summaryrefslogtreecommitdiff
path: root/Command/Whereis.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Whereis.hs')
-rw-r--r--Command/Whereis.hs4
1 files changed, 1 insertions, 3 deletions
diff --git a/Command/Whereis.hs b/Command/Whereis.hs
index 2e0fa15f6..bcd4a2e22 100644
--- a/Command/Whereis.hs
+++ b/Command/Whereis.hs
@@ -7,8 +7,6 @@
module Command.Whereis where
-import Control.Monad.State (liftIO)
-
import qualified Annex
import LocationLog
import Command
@@ -31,7 +29,7 @@ start file = isAnnexed file $ \(key, _) -> do
perform :: Key -> CommandPerform
perform key = do
g <- Annex.gitRepo
- uuids <- liftIO $ keyLocations g key
+ uuids <- keyLocations g key
let num = length uuids
showNote $ show num ++ " " ++ copiesplural num
if null $ uuids