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

@ -383,10 +383,8 @@ fixupUnusualReposAfterInit = do
autoEnableSpecialRemotes :: Annex ()
autoEnableSpecialRemotes = do
rp <- fromRawFilePath <$> fromRepo Git.repoPath
withNullHandle $ \nullh -> gitAnnexChildProcess
[ "init"
, "--autoenable"
]
withNullHandle $ \nullh -> gitAnnexChildProcess "init"
[ "--autoenable" ]
(\p -> p
{ std_out = UseHandle nullh
, std_err = UseHandle nullh