summaryrefslogtreecommitdiff
path: root/doc/git-annex.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-03-20 11:22:27 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-03-20 11:22:27 -0400
commit82ee689db44ebabca2ecd093f9da40ef46fbc067 (patch)
tree74985d178621fabcc3d450c15054397afec9b84d /doc/git-annex.mdwn
parent6c43dd47ff2f1b8e21480b3b4b1a131ef283444b (diff)
readpresentkey: New plumbing command for checking location log.
Diffstat (limited to 'doc/git-annex.mdwn')
-rw-r--r--doc/git-annex.mdwn10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn
index c33633e03..c0bf08e0b 100644
--- a/doc/git-annex.mdwn
+++ b/doc/git-annex.mdwn
@@ -1000,7 +1000,15 @@ subdirectories).
* `setpresentkey key uuid [1|0]`
This plumbing-level command changes git-annex's records about whether
- the specified key is present in a remote with the specified uuid.
+ the specified key's content is present in a remote with the specified uuid.
+
+* `readpresentkey key uuid`
+
+ This plumbing-level command reads git-annex's records about whether
+ the specified key's content is present in the remote with the speficied
+ uuid.
+
+ It exits 0 if the key is recorded to be present and 1 if not.
* `rekey [file key ...]`