avoid switching to direct mode in clone of adjusted branch repo
This commit is contained in:
parent
72f0d3d384
commit
69bf128f76
1 changed files with 2 additions and 2 deletions
|
@ -93,6 +93,8 @@ initialize' mversion = do
|
||||||
whenM versionSupportsUnlockedPointers $ do
|
whenM versionSupportsUnlockedPointers $ do
|
||||||
configureSmudgeFilter
|
configureSmudgeFilter
|
||||||
Database.Keys.scanAssociatedFiles
|
Database.Keys.scanAssociatedFiles
|
||||||
|
whenM checkAdjustedClone $
|
||||||
|
void $ upgrade True
|
||||||
ifM (crippledFileSystem <&&> (not <$> isBare))
|
ifM (crippledFileSystem <&&> (not <$> isBare))
|
||||||
( ifM versionSupportsUnlockedPointers
|
( ifM versionSupportsUnlockedPointers
|
||||||
( adjustToCrippledFileSystem
|
( adjustToCrippledFileSystem
|
||||||
|
@ -105,8 +107,6 @@ initialize' mversion = do
|
||||||
, unlessM isBare
|
, unlessM isBare
|
||||||
switchHEADBack
|
switchHEADBack
|
||||||
)
|
)
|
||||||
whenM checkAdjustedClone $
|
|
||||||
void $ upgrade True
|
|
||||||
createInodeSentinalFile False
|
createInodeSentinalFile False
|
||||||
|
|
||||||
uninitialize :: Annex ()
|
uninitialize :: Annex ()
|
||||||
|
|
Loading…
Reference in a new issue