summaryrefslogtreecommitdiff
path: root/Command/Whereis.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-06-22 16:13:43 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-06-22 16:17:16 -0400
commit1870186632e3d4f99e9b87f71f0ddea83ad04568 (patch)
tree2abd0484a9a729c8ec79997e25d5d5d92e0bdf3b /Command/Whereis.hs
parente0bd9d43a21bae8193cb0a56be2246ee8cdafdaa (diff)
fixed logFile
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 bcd4a2e22..3a7213217 100644
--- a/Command/Whereis.hs
+++ b/Command/Whereis.hs
@@ -7,7 +7,6 @@
module Command.Whereis where
-import qualified Annex
import LocationLog
import Command
import Messages
@@ -28,8 +27,7 @@ start file = isAnnexed file $ \(key, _) -> do
perform :: Key -> CommandPerform
perform key = do
- g <- Annex.gitRepo
- uuids <- keyLocations g key
+ uuids <- keyLocations key
let num = length uuids
showNote $ show num ++ " " ++ copiesplural num
if null $ uuids