set version on init
This commit is contained in:
parent
c281747b0e
commit
50ec22e322
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,7 @@ import qualified Annex
|
||||||
import Core
|
import Core
|
||||||
import qualified GitRepo as Git
|
import qualified GitRepo as Git
|
||||||
import UUID
|
import UUID
|
||||||
|
import Version
|
||||||
import Messages
|
import Messages
|
||||||
|
|
||||||
{- Stores description for the repository etc. -}
|
{- Stores description for the repository etc. -}
|
||||||
|
@ -30,6 +31,7 @@ perform description = do
|
||||||
g <- Annex.gitRepo
|
g <- Annex.gitRepo
|
||||||
u <- getUUID g
|
u <- getUUID g
|
||||||
describeUUID u description
|
describeUUID u description
|
||||||
|
setVersion
|
||||||
liftIO $ gitAttributes g
|
liftIO $ gitAttributes g
|
||||||
liftIO $ gitPreCommitHook g
|
liftIO $ gitPreCommitHook g
|
||||||
return $ Just $ cleanup
|
return $ Just $ cleanup
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue