Merge branch 'master' of ssh://git-annex.branchable.com

This commit is contained in:
Joey Hess 2019-05-03 11:38:22 -04:00
commit 644bae6f66
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -0,0 +1,4 @@
Add `remote.<name>.annex-speculate-can-get` config setting for non-special remotes, with the meaning "speculate that the remote knows how to get the key". It's like `remote.<name>.annex-speculate-present`, except you'd first try [[`git-annex-get`|git-annex-get]] in the remote before looking in its annex.
Then one can make a quick clone of the current repo, and instead of re-configuring all its remotes in the new clone, just configure the origin to be a `speculate-can-get` remote.
This would also be useful when you have unconnected but related repos, and want to occasionally share files between them without merging their histories.