summaryrefslogtreecommitdiff
path: root/Command/SendKey.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/SendKey.hs')
-rw-r--r--Command/SendKey.hs11
1 files changed, 2 insertions, 9 deletions
diff --git a/Command/SendKey.hs b/Command/SendKey.hs
index 98d257338..f397d9ae6 100644
--- a/Command/SendKey.hs
+++ b/Command/SendKey.hs
@@ -7,17 +7,10 @@
module Command.SendKey where
-import Control.Monad.State (liftIO)
-import System.Exit
-
-import Locations
-import qualified Annex
+import AnnexCommon
import Command
import Content
import Utility.RsyncFile
-import Utility.Conditional
-import Messages
-import Types
command :: [Command]
command = [repoCommand "sendkey" paramKey seek
@@ -28,7 +21,7 @@ seek = [withKeys start]
start :: Key -> CommandStart
start key = do
- g <- Annex.gitRepo
+ g <- gitRepo
let file = gitAnnexLocation g key
whenM (inAnnex key) $
liftIO $ rsyncServerSend file -- does not return