summaryrefslogtreecommitdiff
path: root/Annex/Init.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-02-15 15:41:49 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-02-15 15:41:49 -0400
commitd1a98f9d0be87de0c031c66b2329d78309e03303 (patch)
tree1e36c67c158e948838e3c88ce7171ac3a2b8d2aa /Annex/Init.hs
parent7eb83f6f712606d13b4083affff19126d9fb0f75 (diff)
When initializing a v6 repo on a crippled filesystem, don't force it into direct mode.
Diffstat (limited to 'Annex/Init.hs')
-rw-r--r--Annex/Init.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Annex/Init.hs b/Annex/Init.hs
index ece6e3a31..2391549fb 100644
--- a/Annex/Init.hs
+++ b/Annex/Init.hs
@@ -91,7 +91,7 @@ initialize' mversion = do
whenM versionSupportsUnlockedPointers $ do
configureSmudgeFilter
Database.Keys.scanAssociatedFiles
- ifM (crippledFileSystem <&&> not <$> isBare)
+ ifM (crippledFileSystem <&&> (not <$> isBare) <&&> (not <$> versionSupportsUnlockedPointers))
( do
enableDirectMode
setDirect True