From c7893bf9b7ffb2a383c3247596245db28f0232d9 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 15 Feb 2019 12:34:03 -0400 Subject: [PATCH] init: Fix bug when direct mode needs to be enabled on a crippled filesystem, that left the repository in indirect mode. --- Annex/Init.hs | 1 + CHANGELOG | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Annex/Init.hs b/Annex/Init.hs index 5d72b19816..8ce85ba04c 100644 --- a/Annex/Init.hs +++ b/Annex/Init.hs @@ -294,3 +294,4 @@ enableDirectMode = unlessM isDirect $ do forM_ l $ \f -> maybe noop (`toDirect` f) =<< isAnnexLink f void $ liftIO clean + setDirect True diff --git a/CHANGELOG b/CHANGELOG index cce43679e5..5738ed4cd0 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -27,6 +27,8 @@ git-annex (7.20190130) UNRELEASED; urgency=medium after the user has renamed the problem files the export will succeed. * Added NetworkBSD build flag to deal with Network.BSD moving to a new package. + * init: Fix bug when direct mode needs to be enabled on a crippled + filesystem, that left the repository in indirect mode. -- Joey Hess Wed, 30 Jan 2019 12:30:22 -0400