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 2b0d0f89d..f0023bfb3 100644
--- a/Annex/Init.hs
+++ b/Annex/Init.hs
@@ -105,7 +105,8 @@ initialize' mversion = do
, unlessM isBare
switchHEADBack
)
- checkAdjustedClone
+ whenM checkAdjustedClone $
+ void $ upgrade True
createInodeSentinalFile False
uninitialize :: Annex ()