diff options
author | Joey Hess <joey@kitenet.net> | 2012-04-22 01:20:17 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-04-22 01:20:17 -0400 |
commit | 42e4145a170a12f557fbe58344bb115061452d2a (patch) | |
tree | ecdfd74740bdbdd87d062f73ad50def9ec491df5 /Config.hs | |
parent | f8fc79cf58fa8c3acf9948a162a81850ffbbccb5 (diff) |
bugfixes
Diffstat (limited to 'Config.hs')
-rw-r--r-- | Config.hs | 4 |
1 files changed, 2 insertions, 2 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]) |