bugfixes
This commit is contained in:
parent
f8fc79cf58
commit
42e4145a17
2 changed files with 4 additions and 4 deletions
|
@ -101,7 +101,7 @@ getDiskReserve = fromMaybe megabyte . readSize dataUnits
|
|||
- splitting it into lines. -}
|
||||
getHttpHeaders :: Annex [String]
|
||||
getHttpHeaders = do
|
||||
cmd <- getConfig "annex.httpheaders-command" ""
|
||||
cmd <- getConfig "annex.http-headers-command" ""
|
||||
if (null cmd)
|
||||
then fromRepo $ Git.Config.getList "annex.httpheaders"
|
||||
then fromRepo $ Git.Config.getList "annex.http-headers"
|
||||
else lines . snd <$> liftIO (pipeFrom "sh" ["-c", cmd])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue