summaryrefslogtreecommitdiff
path: root/Command/Init.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Init.hs')
-rw-r--r--Command/Init.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Command/Init.hs b/Command/Init.hs
index b1e4e0e06..fa5725c48 100644
--- a/Command/Init.hs
+++ b/Command/Init.hs
@@ -15,6 +15,8 @@ import qualified Annex
import Core
import qualified GitRepo as Git
import UUID
+import Version
+import Messages
{- Stores description for the repository etc. -}
start :: SubCmdStartString
@@ -29,6 +31,7 @@ perform description = do
g <- Annex.gitRepo
u <- getUUID g
describeUUID u description
+ setVersion
liftIO $ gitAttributes g
liftIO $ gitPreCommitHook g
return $ Just $ cleanup