aboutsummaryrefslogtreecommitdiff
path: root/doc/design
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2018-02-06 13:03:55 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2018-02-06 13:03:55 -0400
commit465da37961ea77a30363d2193e625c5781bd9302 (patch)
tree020054765eee8af0b03a131a16eff7c4f2c2688f /doc/design
parent34276bb91c9a36854d215ae50bfba2e207a6e6a4 (diff)
Added INFO to external special remote protocol.
It's left up to the special remote to detect when git-annex is new enough to support the message; an old git-annex will blow up. This commit was supported by the NSF-funded DataLad project.
Diffstat (limited to 'doc/design')
-rw-r--r--doc/design/external_special_remote_protocol.mdwn9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/design/external_special_remote_protocol.mdwn b/doc/design/external_special_remote_protocol.mdwn
index 401c42d6c..e31ee9e9b 100644
--- a/doc/design/external_special_remote_protocol.mdwn
+++ b/doc/design/external_special_remote_protocol.mdwn
@@ -400,8 +400,15 @@ handling a request.
(git-annex replies one or more times with VALUE for each url.
The final VALUE has an empty value, indicating the end of the url list.)
* `DEBUG message`
- Tells git-annex to display the message if --debug is enabled.
+ Tells git-annex to display the message if --debug is enabled.
(git-annex does not send a reply to this message.)
+* `INFO message`
+ Tells git-annex to display the message to the user.
+ When git-annex is in --json mode, the message will be emitted immediately
+ in its own json object, with an "info" field.
+ (git-annex does not send a reply to this message.)
+ This message was first supported by git-annex version
+ 6.20180206
## general messages