diff options
author | Joey Hess <joey@kitenet.net> | 2010-11-08 16:40:28 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-11-08 16:40:28 -0400 |
commit | 50ec22e322ecc0538a0629e32313c0d8ec4ffd45 (patch) | |
tree | 040776998f31c8a9dc72c71716e19f78bed19e4c /Command/Init.hs | |
parent | c281747b0eb39c10eb7bae0ea3202dca6077b74f (diff) |
set version on init
Diffstat (limited to 'Command/Init.hs')
-rw-r--r-- | Command/Init.hs | 2 |
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 |