summaryrefslogtreecommitdiff
path: root/doc/bugs/--json_is_broken_for_status.mdwn
blob: 0ce9dc7fa1094bbacdc66ebbc5417eb9730ef85f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
### 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.
"""]]

> Not all commands support json. Made this explict by making --json not be
> a global option. Added --json support to status. [[done]]. --[[Joey]]