Ensure that core.sharedrepository is honored when creating the .git/annex directory.
This commit is contained in:
parent
310c549b5a
commit
b876df6fdb
3 changed files with 8 additions and 6 deletions
|
@ -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} }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue