summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Command/Init.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Command/Init.hs b/Command/Init.hs
index fd55242a4..fa5725c48 100644
--- a/Command/Init.hs
+++ b/Command/Init.hs
@@ -15,6 +15,7 @@ import qualified Annex
import Core
import qualified GitRepo as Git
import UUID
+import Version
import Messages
{- Stores description for the repository etc. -}
@@ -30,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