This commit is contained in:
parent
f8faeabb70
commit
471464e4a0
1 changed files with 3 additions and 0 deletions
|
@ -0,0 +1,3 @@
|
|||
When setting file metadata using `git-annex metadata --batch --json --json-error-messages`, if the "fields" field of an input line is not 100% an object whose values are arrays of strings, then git-annex will silently ignore the "fields" field and act as though the user simply requested the metadata for the given file/key. It would be more useful if, whenever the input contains a "fields" field that does not match the required schema, git annex treats it as an error. This would make it easier for users to figure out that they are doing something wrong.
|
||||
|
||||
[[!meta author=jwodder]]
|
Loading…
Add table
Reference in a new issue