summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-02-13 02:24:30 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-02-13 02:24:30 -0400
commit53861087d55de45ec6b24f6e452469dfa72c1644 (patch)
tree2c0274b816b8d21640d4eb4c51fabff50e1406a3 /doc
parent36f34c21f3dc8aa448f129e2a727381ca61c4c85 (diff)
limiting files based on metadata
Note that there is currently no caching, so --metadata foo=bar --metadata tag=blah will currently read the log 2x per file.
Diffstat (limited to 'doc')
-rw-r--r--doc/git-annex.mdwn5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn
index e0028d2d6..39577190f 100644
--- a/doc/git-annex.mdwn
+++ b/doc/git-annex.mdwn
@@ -1082,6 +1082,11 @@ file contents are present at either of two repositories.
The size can be specified with any commonly used units, for example,
"0.5 gb" or "100 KiloBytes"
+* `--metadata field=value`
+
+ Matches only files that have a metadata field attached with the specified
+ value.
+
* `--want-get`
Matches files that the preferred content settings for the repository