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
|
@ -65,6 +65,7 @@ import Annex.UpdateInstead
|
|||
import Annex.Export
|
||||
import Annex.TaggedPush
|
||||
import Annex.CurrentBranch
|
||||
import Annex.GitOverlay
|
||||
import qualified Database.Export as Export
|
||||
import Utility.Bloom
|
||||
import Utility.OptParse
|
||||
|
@ -513,7 +514,7 @@ pushRemote o remote (Just branch, _) = do
|
|||
postpushupdate repo = case Git.repoWorkTree repo of
|
||||
Nothing -> return True
|
||||
Just wt -> ifM needemulation
|
||||
( liftIO $ do
|
||||
( runsGitAnnexChildProcess $ liftIO $ do
|
||||
p <- programPath
|
||||
boolSystem' p [Param "post-receive"]
|
||||
(\cp -> cp { cwd = Just (fromRawFilePath wt) })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue