summaryrefslogtreecommitdiff
path: root/Remote/S3.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-03-27 22:52:13 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-03-27 22:52:13 -0400
commitc0fd38bfa9ade9dc4515140cf5cf5619582c5a89 (patch)
treedfb118de1277ce5a1f5beeb07d413486c76a7f5d /Remote/S3.hs
parent65b72604d73b1d92dea1d81984964394235834bb (diff)
document S3 remotes
Diffstat (limited to 'Remote/S3.hs')
-rw-r--r--Remote/S3.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Remote/S3.hs b/Remote/S3.hs
index 818cde203..bc010bf0b 100644
--- a/Remote/S3.hs
+++ b/Remote/S3.hs
@@ -45,7 +45,7 @@ genRemote r = do
hasKeyCheap = False
}
-{- S3 remotes have a remote.<name>.annex-s3bucket config setting.
+{- S3 remotes have a remote.<name>.annex-s3-bucket config setting.
- Git.Repo does not normally generate remotes for things that
- have no configured url, so the Git.Repo objects have to be
- constructed as coming from an unknown location. -}
@@ -55,7 +55,7 @@ findS3Remotes r = map construct remotepairs
remotepairs = Map.toList $ filterremotes $ Git.configMap r
filterremotes = Map.filterWithKey (\k _ -> s3remote k)
construct (k,_) = Git.repoRemoteNameSet Git.repoFromUnknown k
- s3remote k = startswith "remote." k && endswith ".annex-s3bucket" k
+ s3remote k = startswith "remote." k && endswith ".annex-s3-bucket" k
tryS3ConfigRead :: Git.Repo -> Annex Git.Repo
tryS3ConfigRead r = error "TODO"