diff options
author | 2016-06-02 15:36:52 -0400 | |
---|---|---|
committer | 2016-06-02 15:36:52 -0400 | |
commit | f5fa8ea57a8bca62ebf31b796f218e697b67910a (patch) | |
tree | d7338f71b679729ea3d76b5fd9be08dbeaa45b39 /Annex | |
parent | fc4fa86f301980f8e4ccd77a5ddf7d81e7560d17 (diff) |
avoid switching to direct mode in clone of adjusted branch repo
Diffstat (limited to 'Annex')
-rw-r--r-- | Annex/Init.hs | 4 |
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 () |