avoid switching to direct mode in clone of adjusted branch repo

This commit is contained in:
Joey Hess 2016-06-02 15:36:52 -04:00
parent 72f0d3d384
commit 69bf128f76
Failed to extract signature

View file

@ -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 ()