summaryrefslogtreecommitdiff
path: root/Git/Command.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Git/Command.hs')
-rw-r--r--Git/Command.hs6
1 files changed, 5 insertions, 1 deletions
diff --git a/Git/Command.hs b/Git/Command.hs
index 2e9562860..f38d6f72f 100644
--- a/Git/Command.hs
+++ b/Git/Command.hs
@@ -93,7 +93,11 @@ pipeNullSplit params repo = do
pipeNullSplitZombie :: [CommandParam] -> Repo -> IO [String]
pipeNullSplitZombie params repo = fst <$> pipeNullSplit params repo
-{- Reaps any zombie git processes. -}
+{- Reaps any zombie git processes.
+ -
+ - Warning: Not thread safe. Anything that was expecting to wait
+ - on a process and get back an exit status is going to be confused
+ - if this reap gets there first. -}
reap :: IO ()
reap = do
-- throws an exception when there are no child processes