diff options
author | Joey Hess <joey@kitenet.net> | 2012-06-12 11:32:06 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-06-12 11:32:06 -0400 |
commit | 942d8f72984377c4e69d7c55877621d434e5d687 (patch) | |
tree | da1f205c66d57a4a88c727af382c4d6e09c2e881 /Config.hs | |
parent | 85f0992c0378aad442da5dbbd5deadffe33f77e1 (diff) |
hlint
Diffstat (limited to 'Config.hs')
-rw-r--r-- | Config.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -114,6 +114,6 @@ getDiskReserve = fromMaybe megabyte . readSize dataUnits getHttpHeaders :: Annex [String] getHttpHeaders = do cmd <- getConfig (annexConfig "http-headers-command") "" - if (null cmd) + if null cmd then fromRepo $ Git.Config.getList "annex.http-headers" else lines . snd <$> liftIO (pipeFrom "sh" ["-c", cmd]) |