git-annex/doc/bugs/json_is_broken_for_status.mdwn

35 lines
794 B
Text
Raw Normal View History

2014-01-18 06:13:20 +00:00
### Please describe the problem.
bad json produced
### What steps will reproduce the problem?
[[!format sh """
$> git annex status --json
,"success":true}
in another one
$> git annex status --json
D hardware/g-box/builds/mine/.#yoh-debug-lastdidnotconnect.txt
,"success":true}
"""]]
### What version of git-annex are you using? On what operating system?
Debian sid 5.20140116
### Please provide any additional information below.
[[!format sh """
# If you can, paste a complete transcript of the problem occurring here.
# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log
# End of transcript or log.
"""]]
2014-01-18 16:05:10 +00:00
> Not all commands support json. Made this explict by making --json not be
> a global option. Added --json support to status. [[done]]. --[[Joey]]