back compat fix for info --json on unknown item
authorJoey Hess <joeyh@joeyh.name>
Mon, 1 May 2023 16:05:21 +0000 (12:05 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 1 May 2023 16:05:21 +0000 (12:05 -0400)
commit1beca851ff23b0727f6adefc52dbbb9ba1091fac
tree351c0db4689af89905fa6cf41bceb31a5134256b
parent66fe3b0908d8b193335650aa8d2cb05e878f154d
back compat fix for info --json on unknown item

This was changed in a0e6fa18eb3c16c3c8079bb41c18151e6ea8b554 in a way
that broke datalad, which expected to see a "file" field in the --json.

See https://github.com/datalad/datalad/pull/7372/commits/45ddd4b12ff637c6c77e982225c0e9d9eb53c1b6
Command/Info.hs