diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-02-03 16:58:36 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-02-03 16:58:36 -0400 |
commit | 1ddffd6a8a62491684c6565be9c5c329507fe623 (patch) | |
tree | 3d0755a355d6609ca9664dfd69edf130f2716d2a /doc/git-annex-matchexpression.mdwn | |
parent | 590d47ed764c88a08f615c3af057cbff26633bc1 (diff) |
matchexpression: Added --largefiles option to parse an annex.largefiles expression.
Diffstat (limited to 'doc/git-annex-matchexpression.mdwn')
-rw-r--r-- | doc/git-annex-matchexpression.mdwn | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/doc/git-annex-matchexpression.mdwn b/doc/git-annex-matchexpression.mdwn index c148487bf..0cfeaa150 100644 --- a/doc/git-annex-matchexpression.mdwn +++ b/doc/git-annex-matchexpression.mdwn @@ -1,6 +1,6 @@ # NAME -git-annex matchexpression - checks if a preferred content expression matches +git-annex matchexpression - checks if an expression matches # SYNOPSIS @@ -8,7 +8,7 @@ git annex matchexpression `expression [data]` # DESCRIPTION -This plumbing-level command is given a prefferred content expression, +This plumbing-level command is given a preferred content expression, and some data, and checks if the expression matches the data. It exits 0 if it matches, and 1 if not. If not enough data was provided, it displays an error and exits with special code 42. @@ -38,6 +38,16 @@ For example, this will exit 0: Many keys have a known size, and so --size is not needed when specifying such a key. +* `--largefiles` + + Parse the expression as an annex.largefiles expression, rather than a + preferred content expression. + +* `--mimetype=` + + Tell what the mime type of the file is. Only needed when using + --largefiles with a mimetype= expression. + # SEE ALSO [[git-annex]](1) |