diff options
author | Joey Hess <joey@kitenet.net> | 2012-03-22 00:23:15 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-03-22 17:32:47 -0400 |
commit | f1398b558316a936690a8f3b01493f498d15b659 (patch) | |
tree | ac58768f5e421b985f3a2ed135bb338b03a991ec /Command | |
parent | 4eb51126819fe01a003688267f481c6d8014ef47 (diff) |
use new getConfig
Diffstat (limited to 'Command')
-rw-r--r-- | Command/Unused.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Command/Unused.hs b/Command/Unused.hs index 246929f71..bc721635b 100644 --- a/Command/Unused.hs +++ b/Command/Unused.hs @@ -23,13 +23,13 @@ import Annex.Content import Utility.FileMode import Utility.TempFile import Logs.Location +import Config import qualified Annex import qualified Git import qualified Git.Command import qualified Git.Ref import qualified Git.LsFiles as LsFiles import qualified Git.LsTree as LsTree -import qualified Git.Config import qualified Backend import qualified Remote import qualified Annex.Branch @@ -189,10 +189,10 @@ exclude smaller larger = S.toList $ remove larger $ S.fromList smaller -} bloomCapacity :: Annex Int bloomCapacity = fromMaybe 500000 . readish - <$> fromRepo (Git.Config.get "annex.bloomcapacity" "") + <$> getConfig "annex.bloomcapacity" "" bloomAccuracy :: Annex Int bloomAccuracy = fromMaybe 1000 . readish - <$> fromRepo (Git.Config.get "annex.bloomaccuracy" "") + <$> getConfig "annex.bloomaccuracy" "" bloomBitsHashes :: Annex (Int, Int) bloomBitsHashes = do capacity <- bloomCapacity |