summaryrefslogtreecommitdiff
path: root/doc/git-annex-view.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-05-03 14:02:22 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-05-03 14:02:22 -0400
commit05266ece5a7fa0283f360cad513e3aae74b93560 (patch)
tree1e32b899e927bcc0ee787d222930b257dfada918 /doc/git-annex-view.mdwn
parent245258f8f0d500a41a7aa4f79fcb72f28580d9ef (diff)
document ! syntax
Diffstat (limited to 'doc/git-annex-view.mdwn')
-rw-r--r--doc/git-annex-view.mdwn5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/git-annex-view.mdwn b/doc/git-annex-view.mdwn
index d8d0ce5b2..74ed5dbf7 100644
--- a/doc/git-annex-view.mdwn
+++ b/doc/git-annex-view.mdwn
@@ -31,6 +31,11 @@ For example, `/=foo` will only include files from the foo
directory in the view, while `foo/=*` will preserve the
subdirectories of the foo directory in the view.
+To enter a view containing only files that lack a given metadata
+field or tag, specify field!=value or !tag. Globs can also be used here,
+so `field!="*"` will enter a view containing only files that do not have
+the field set to any value.
+
# SEE ALSO
[[git-annex]](1)