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:
Joey Hess 2020-06-17 15:31:03 -04:00
parent 82448bdf39
commit 96f6aa39dd
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 6 additions and 3 deletions

View file

@ -15,6 +15,7 @@ import qualified Git
import Config
import Annex.Path
import Annex.Version
import Annex.GitOverlay
import Types.RepoVersion
#ifndef mingw32_HOST_OS
import qualified Upgrade.V0
@ -104,7 +105,7 @@ upgrade automatic destversion = do
upgraderemote = do
rp <- fromRawFilePath <$> fromRepo Git.repoPath
cmd <- liftIO programPath
liftIO $ boolSystem' cmd
runsGitAnnexChildProcess $ liftIO $ boolSystem' cmd
[ Param "upgrade"
, Param "--quiet"
, Param "--autoonly"