add runsGitAnnexChildProcess calls
This is all the calls to git-annex that seem capable of possibly locking the same pidlock as their parent. Except possibly for some in the assistant.
This commit is contained in:
parent
82448bdf39
commit
96f6aa39dd
3 changed files with 6 additions and 3 deletions
|
@ -37,6 +37,7 @@ import Annex.UUID
|
|||
import Annex.WorkTree
|
||||
import Annex.Fixup
|
||||
import Annex.Path
|
||||
import Annex.GitOverlay
|
||||
import Config
|
||||
import Config.Files
|
||||
import Config.Smudge
|
||||
|
@ -326,7 +327,7 @@ fixupUnusualReposAfterInit = do
|
|||
- The enabling is done in a child process to avoid it using stdio.
|
||||
-}
|
||||
autoEnableSpecialRemotes :: Annex ()
|
||||
autoEnableSpecialRemotes = do
|
||||
autoEnableSpecialRemotes = runsGitAnnexChildProcess $ do
|
||||
rp <- fromRawFilePath <$> fromRepo Git.repoPath
|
||||
cmd <- liftIO programPath
|
||||
liftIO $ withNullHandle $ \nullh -> do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue