summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-08-18 12:26:28 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-08-18 12:26:28 -0400
commit7cedd28ab00d93b4a8d70810511a7c28cae65fd1 (patch)
tree83f10921b9cef52e538f377a938bebfb320290f9
parent8a2197adfab9d8425f92000621a802dce37e124c (diff)
tweak
-rw-r--r--Config.hs9
1 files changed, 3 insertions, 6 deletions
diff --git a/Config.hs b/Config.hs
index 6f2014483..568eb7138 100644
--- a/Config.hs
+++ b/Config.hs
@@ -39,12 +39,9 @@ getConfig r key def = do
remoteConfig :: Git.Repo -> ConfigKey -> String
remoteConfig r key = "remote." ++ fromMaybe "" (Git.repoRemoteName r) ++ ".annex-" ++ key
-{- Calculates cost for a remote.
- -
- - The default cost is 100 for local repositories, and 200 for remote
- - repositories; it can also be configured by remote.<name>.annex-cost,
- - or if remote.<name>.annex-cost-command is set and prints a number, that
- - is used.
+{- Calculates cost for a remote. Either the default, or as configured
+ - by remote.<name>.annex-cost, or if remote.<name>.annex-cost-command
+ - is set and prints a number, that is used.
-}
remoteCost :: Git.Repo -> Int -> Annex Int
remoteCost r def = do