--metadata field=value can now use globs to match, and matches case insensatively, the same as git annex view field=value does.

Also refactored glob code into its own module.
This commit is contained in:
Joey Hess 2014-02-21 18:34:34 -04:00
parent e834227202
commit 24f8136504
5 changed files with 82 additions and 69 deletions

View file

@ -1133,10 +1133,10 @@ 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`
* `--metadata field=glob`
Matches only files that have a metadata field attached with the specified
value.
Matches only files that have a metadata field attached with a value that
matches the glob.
* `--want-get`