pass along -c options to child git-annex processes

This commit is contained in:
Joey Hess 2020-12-15 10:44:36 -04:00
parent 87de360e98
commit 00526a6739
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
6 changed files with 27 additions and 16 deletions

View file

@ -103,9 +103,8 @@ upgrade automatic destversion = do
-- upgrading a git repo other than the current repo.
upgraderemote = do
rp <- fromRawFilePath <$> fromRepo Git.repoPath
gitAnnexChildProcess
[ "upgrade"
, "--quiet"
gitAnnexChildProcess "upgrade"
[ "--quiet"
, "--autoonly"
]
(\p -> p { cwd = Just rp })