From f329c56f5e356bfaaf04d0587058824713d9b1c9 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 18 Nov 2013 18:20:20 -0400 Subject: Ensure that core.sharedrepository is honored when creating the .git/annex directory. --- Annex/Branch.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Annex') diff --git a/Annex/Branch.hs b/Annex/Branch.hs index 22ab002fe..9838af25f 100644 --- a/Annex/Branch.hs +++ b/Annex/Branch.hs @@ -351,7 +351,7 @@ withIndex' bootstrapping a = do Annex.changeState $ \s -> s { Annex.repo = g' } checkIndexOnce $ unlessM (liftIO $ doesFileExist f) $ do unless bootstrapping create - liftIO $ createDirectoryIfMissing True $ takeDirectory f + createAnnexDirectory $ takeDirectory f unless bootstrapping $ inRepo genIndex a Annex.changeState $ \s -> s { Annex.repo = (Annex.repo s) { gitEnv = gitEnv g} } -- cgit v1.2.3