log: Support --json and --json-error-messages
authorJoey Hess <joeyh@joeyh.name>
Thu, 4 May 2023 16:36:31 +0000 (12:36 -0400)
committerJoey Hess <joeyh@joeyh.name>
Thu, 4 May 2023 16:36:31 +0000 (12:36 -0400)
commit46c7c30140b2650ecd6ebb623f8911a3e1ef4313
tree94fdc21d5eed74f3f99ee3767bb57bbbec6fffc5
parentf56f6140fa3fd570e358a7ab41672d2a4da63f5d
log: Support --json and --json-error-messages

Also in passing the --all display was fixed up to not quote keys like filenames.

Note that the check added to compareChanges was needed to avoid logging when
nothing changed.

Sponsored-By: the NIH-funded NICEMAN (ReproNim TR&D3) project
CHANGELOG
Command/Log.hs
doc/git-annex-log.mdwn
doc/todo/--json_for_unannex__and_ideally_any_other_command_.mdwn