summaryrefslogtreecommitdiff
path: root/doc/special_remotes/hook.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-09-04 23:46:50 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-09-04 23:46:50 -0400
commit2f3b108d49c534e828cec8adceef7defc942b67f (patch)
treea900acd6ed02e6342b76f1fe11294c889e62ff08 /doc/special_remotes/hook.mdwn
parent652f4069fc1ddc7b5cef4fa40865997210cf7a7a (diff)
update docs for changed initremote encryption syntax
Diffstat (limited to 'doc/special_remotes/hook.mdwn')
-rw-r--r--doc/special_remotes/hook.mdwn13
1 files changed, 5 insertions, 8 deletions
diff --git a/doc/special_remotes/hook.mdwn b/doc/special_remotes/hook.mdwn
index d5c708e0a..eaea940a7 100644
--- a/doc/special_remotes/hook.mdwn
+++ b/doc/special_remotes/hook.mdwn
@@ -25,17 +25,14 @@ Can you spot the potential data loss bugs in the above simple example?
These parameters can be passed to `git annex initremote`:
-* `encryption` - Required. Either "none" to disable encryption,
- or a value that can be looked up (using gpg -k) to find a gpg encryption
- key that will be given access to the remote, or "shared" which allows
- every clone of the repository to access the encrypted data.
-
- Note that additional gpg keys can be given access to a remote by
- running enableremote with the new key id. See [[encryption]].
-
* `hooktype` - Required. This specifies a collection of hooks to use for
this remote.
+* `encryption` - One of "none", "hybrid", "shared", or "pubkey".
+ See [[encryption]].
+
+* `keyid` - Specifies the gpg key to use for [[encryption]].
+
## hooks
Each type of hook remote is specified by a collection of hook commands.