This commit is contained in:
Joey Hess 2018-09-12 15:31:03 -04:00
parent 6812e3e768
commit f1f3d15404
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 21 additions and 4 deletions

View file

@ -0,0 +1,17 @@
[[!comment format=mdwn
username="joey"
subject="""comment 3"""
date="2018-09-12T19:26:31Z"
content="""
annex-speculate-present is a boolean setting, I see that the docs didn't
make that clear and have improved them.
I don't see any value in speculating that urls are present in some specific
remote; there's already sufficient support for remotes to register and
claim urls.
See CLAIMURL in the external special remote protocol.
The ipfs special remote is an example of a a remote that uses CLAIMURL to
add support for a new type of url to git-annex.
<https://git-annex.branchable.com/special_remotes/external/git-annex-remote-ipfs>
"""]]

View file

@ -1296,10 +1296,10 @@ Here are all the supported configuration settings.
* `remote.<name>.annex-speculate-present`
Make git-annex speculate that this remote may contain the content of any
file, even though its normal location tracking does not indicate that it
does. This will cause git-annex to try to get all file contents from the
remote. Can be useful in setting up a caching remote.
Set to "true" to make git-annex speculate that this remote may contain the
content of any file, even though its normal location tracking does not
indicate that it does. This will cause git-annex to try to get all file
contents from the remote. Can be useful in setting up a caching remote.
* `remote.<name>.annex-bare`