Add plumbing-level lookupkey command.
This commit is contained in:
parent
f0cf4d1861
commit
7d5b25515c
5 changed files with 37 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue