summaryrefslogtreecommitdiff
path: root/Annex/Init.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Annex/Init.hs')
-rw-r--r--Annex/Init.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Annex/Init.hs b/Annex/Init.hs
index ead638990..9e0361daf 100644
--- a/Annex/Init.hs
+++ b/Annex/Init.hs
@@ -93,7 +93,8 @@ initialize' mversion = do
Database.Keys.scanAssociatedFiles
v <- checkAdjustedClone
case v of
- NeedUpgradeForAdjustedClone -> void $ upgrade True
+ NeedUpgradeForAdjustedClone ->
+ void $ upgrade True versionForAdjustedClone
InAdjustedClone -> return ()
NotInAdjustedClone ->
ifM (crippledFileSystem <&&> (not <$> isBareRepo))