diff options
author | Joey Hess <joey@kitenet.net> | 2013-02-26 15:13:10 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-02-26 15:13:10 -0400 |
commit | dce8bec196e978dfae4592f7308b750fcb97a609 (patch) | |
tree | 3b58331b82c7c094e4ee341a5a31437eab3ed129 /Command/Indirect.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 'Command/Indirect.hs')
-rw-r--r-- | Command/Indirect.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Command/Indirect.hs b/Command/Indirect.hs index ac97be753..8bf228a80 100644 --- a/Command/Indirect.hs +++ b/Command/Indirect.hs @@ -17,6 +17,7 @@ import qualified Annex import Annex.Direct import Annex.Content import Annex.CatFile +import Annex.Version import Init def :: [Command] @@ -88,6 +89,7 @@ perform = do cleanup :: CommandCleanup cleanup = do + setVersion defaultVersion showStart "indirect" "" showEndOk return True |