summaryrefslogtreecommitdiff
path: root/Annex/Init.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Annex/Init.hs')
-rw-r--r--Annex/Init.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Annex/Init.hs b/Annex/Init.hs
index f0023bfb3..8c20e5e12 100644
--- a/Annex/Init.hs
+++ b/Annex/Init.hs
@@ -93,6 +93,8 @@ initialize' mversion = do
whenM versionSupportsUnlockedPointers $ do
configureSmudgeFilter
Database.Keys.scanAssociatedFiles
+ whenM checkAdjustedClone $
+ void $ upgrade True
ifM (crippledFileSystem <&&> (not <$> isBare))
( ifM versionSupportsUnlockedPointers
( adjustToCrippledFileSystem
@@ -105,8 +107,6 @@ initialize' mversion = do
, unlessM isBare
switchHEADBack
)
- whenM checkAdjustedClone $
- void $ upgrade True
createInodeSentinalFile False
uninitialize :: Annex ()