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
|
||||
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 ()
|
||||
|
|
Loading…
Reference in a new issue