20741b1eb4
* Automatically convert direct mode repositories to v7 with adjusted unlocked branches and set annex.thin. * init: When run on a crippled filesystem with --version=5, will error out, since version 7 is needed for adjusted unlocked branch. * direct: This command always errors out as direct mode is no longer supported. * indirect: This command has become a deprecated noop. * proxy: This command is deprecated because it was only needed in direct mode. (But it continues to work.) Also removed mentions of direct mode throughough the documentation. I have not removed all the direct mode code yet.
34 lines
780 B
Markdown
34 lines
780 B
Markdown
# NAME
|
|
|
|
git-annex contentlocation - looks up content for a key
|
|
|
|
# SYNOPSIS
|
|
|
|
git annex contentlocation `[key ...]`
|
|
|
|
# DESCRIPTION
|
|
|
|
This plumbing-level command looks up filename used to store the content
|
|
of a key. The filename is output to stdout. If the key's content is not
|
|
present in the local repository, nothing is output, and it exits nonzero.
|
|
|
|
# OPTIONS
|
|
|
|
* `--batch`
|
|
|
|
Enable batch mode, in which a line containing the key is read from
|
|
stdin, the filename to its content is output to stdout (with a trailing
|
|
newline), and repeat.
|
|
|
|
Note that if a key's content is not present, an empty line is output to
|
|
stdout instead.
|
|
|
|
# SEE ALSO
|
|
|
|
[[git-annex]](1)
|
|
|
|
# AUTHOR
|
|
|
|
Joey Hess <id@joeyh.name>
|
|
|
|
Warning: Automatically converted into a man page by mdwn2man. Edit with care.
|