diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-03-20 11:44:46 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-03-20 11:44:46 -0400 |
commit | f90490c4f36d9354e004985621e5ebd767e62496 (patch) | |
tree | 671b20435330564060b8e375697ce83669c5cc19 /doc | |
parent | 82ee689db44ebabca2ecd093f9da40ef46fbc067 (diff) |
checkpresentkey: New plumbing command to check if a key can be verified to be present on a remote.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/git-annex.mdwn | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn index c0bf08e0b..7cd02fb63 100644 --- a/doc/git-annex.mdwn +++ b/doc/git-annex.mdwn @@ -1010,6 +1010,15 @@ subdirectories). It exits 0 if the key is recorded to be present and 1 if not. +* `checkpresentkey key remote` + + This plumbing-level command verifies if the specified key's content + is present in the specified remote. + + Exits 0 if the content is verified present, or 1 if it is verified to not + be present. If there is a problem checking the remote, the special + exit code 100 is used, and an error message is output to stderr. + * `rekey [file key ...]` This plumbing-level command is similar to migrate, but you specify |