Make --debug also enable debugging in child git-annex processes

Especially necessary with stalldetection using child processes for
transfers.

This commit was sponsored by Jack Hill on Patreon.
This commit is contained in:
Joey Hess 2021-03-22 14:25:28 -04:00
parent 1ddaa6b541
commit 5545e78a1e
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
4 changed files with 19 additions and 7 deletions

View file

@ -69,7 +69,8 @@ gitAnnexChildProcess subcmd ps f a = do
{- Parameters to pass to a git-annex child process to run a subcommand
- with some parameters.
-
- Includes -c values that were passed on the git-annex command line.
- Includes -c values that were passed on the git-annex command line
- or due to --debug being enabled.
-}
gitAnnexChildProcessParams :: String -> [CommandParam] -> Annex [CommandParam]
gitAnnexChildProcessParams subcmd ps = do