init: Fix bug when direct mode needs to be enabled on a crippled filesystem, that left the repository in indirect mode.
This commit is contained in:
parent
27800ae165
commit
c7893bf9b7
2 changed files with 3 additions and 0 deletions
|
@ -294,3 +294,4 @@ enableDirectMode = unlessM isDirect $ do
|
|||
forM_ l $ \f ->
|
||||
maybe noop (`toDirect` f) =<< isAnnexLink f
|
||||
void $ liftIO clean
|
||||
setDirect True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue