diff options
author | 2013-02-26 15:13:10 -0400 | |
---|---|---|
committer | 2013-02-26 15:13:10 -0400 | |
commit | dce8bec196e978dfae4592f7308b750fcb97a609 (patch) | |
tree | 3b58331b82c7c094e4ee341a5a31437eab3ed129 /Init.hs | |
parent | e3ef9d058af30419924bcd2169aea3716ce53105 (diff) |
annex.version is now set to 4 for direct mode repositories
To avoid old versions of git-annex getting confused.
There is no upgrade required though.
We switch back to 3 when going from direct to indirect.
Diffstat (limited to 'Init.hs')
-rw-r--r-- | Init.hs | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -42,9 +42,9 @@ genDescription Nothing = do initialize :: Maybe String -> Annex () initialize mdescription = do prepUUID + setVersion defaultVersion checkCrippledFileSystem Annex.Branch.create - setVersion gitPreCommitHookWrite createInodeSentinalFile u <- getUUID @@ -143,3 +143,4 @@ checkCrippledFileSystem = whenM (probeCrippledFileSystem) $ do maybe noop (`toDirect` f) =<< isAnnexLink f void $ liftIO clean setDirect True + setVersion directModeVersion |