summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-12-15 14:02:23 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-12-15 14:02:23 -0400
commit3d1b94998a0aff3d08cf8648ae977614412e8138 (patch)
tree1988b7e23d1bf4414cc6717fd010f0e0bb6bac12 /doc
parentd8365c862bd88536c108262f4bfeea450128c119 (diff)
Add plumbing-level lookupkey command.
Diffstat (limited to 'doc')
-rw-r--r--doc/git-annex.mdwn7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn
index 4602849c2..5d61b8b40 100644
--- a/doc/git-annex.mdwn
+++ b/doc/git-annex.mdwn
@@ -727,6 +727,13 @@ subdirectories).
point to annexed content. Also handles injecting changes to unlocked
files into the annex.
+* `lookupkey [file ...]`
+
+ This plumbing-level command looks up the key used for a file in the
+ index. The key is output to stdout. If there is no key (because
+ the file is not added to git, or is not a git-annex managed file),
+ nothing is output, and it exits nonzero.
+
* `fromkey key file`
This plumbing-level command can be used to manually set up a file