summaryrefslogtreecommitdiff
path: root/Command
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-06-07 13:48:55 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-06-07 13:48:55 -0400
commit727158ff5546233e6f6b8bd8543c9514e3bd7af6 (patch)
tree71bc94b11aff2f9018ec46f4ec42cc756a89ce87 /Command
parent5d4e09199c757a34d0a9bf9b073dd13481b88cc1 (diff)
parent4d1c114e4d27ae339f6fb408d398945fa68c2435 (diff)
Merge branch 'master' into watch
Diffstat (limited to 'Command')
-rw-r--r--Command/InitRemote.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Command/InitRemote.hs b/Command/InitRemote.hs
index 698d60455..a78505a19 100644
--- a/Command/InitRemote.hs
+++ b/Command/InitRemote.hs
@@ -15,6 +15,7 @@ import qualified Remote
import qualified Logs.Remote
import qualified Types.Remote as R
import Annex.UUID
+import Logs.UUID
def :: [Command]
def = [command "initremote"
@@ -60,6 +61,7 @@ findByName name = do
where
generate = do
uuid <- liftIO genUUID
+ describeUUID uuid name
return (uuid, M.insert nameKey name M.empty)
findByName' :: String -> M.Map UUID R.RemoteConfig -> Maybe (UUID, R.RemoteConfig)