summaryrefslogtreecommitdiff
path: root/doc/design/external_special_remote_protocol.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/design/external_special_remote_protocol.mdwn')
-rw-r--r--doc/design/external_special_remote_protocol.mdwn10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/design/external_special_remote_protocol.mdwn b/doc/design/external_special_remote_protocol.mdwn
index 8214a48a8..138d9dd18 100644
--- a/doc/design/external_special_remote_protocol.mdwn
+++ b/doc/design/external_special_remote_protocol.mdwn
@@ -212,6 +212,16 @@ in control.
* `GETUUID`
Queries for the UUID of the special remote being used.
(git-annex replies with VALUE followed by the UUID.)
+* `SETWANTED PreferredContentExpression`
+ Can be used to set the preferred content of a repository. Normally
+ this is not configured by a special remote, but it may make sense
+ in some situations to hint at the kind of content that should be stored
+ in the special remote. Note that if a unparsable expression is set,
+ git-annex will ignore it.
+* `GETWANTED`
+ Gets the current preferred content setting of the repository.
+ (git-annex replies with VALUE followed by the preferred content
+ expression.)
## general messages