(no commit message)
authorjwodder <jwodder@web>
Thu, 21 Oct 2021 01:35:48 +0000 (01:35 +0000)
committeradmin <admin@branchable.com>
Thu, 21 Oct 2021 01:35:48 +0000 (01:35 +0000)
doc/bugs/metadata_cmd._vs._--json-error-messages.mdwn [new file with mode: 0644]

diff --git a/doc/bugs/metadata_cmd._vs._--json-error-messages.mdwn b/doc/bugs/metadata_cmd._vs._--json-error-messages.mdwn
new file mode 100644 (file)
index 0000000..9f55246
--- /dev/null
@@ -0,0 +1,6 @@
+(Sorry about the title; I was trying to work within the character limit.)
+
+When invoking `git-annex metadata --batch --json --json-error-messages`, if an error occurs in response to some input — say, because the name of a nonexistent file was supplied (or, in my case, because the name of a file downloaded milliseconds ago in a parallel addurl process was supplied) — then `git-annex metadata` will output "git-annex: not an annexed file: {filepath}" to standard error and immediately exit.  Not only is this in contrast to what it seems `--json-error-messages` should do, but the "exiting immediately" bit is in contrast to my understanding of how batch mode is supposed to work.  Surely this should be fixed?
+
+[[!meta author=jwodder]]
+[[!tag projects/dandi]]