summaryrefslogtreecommitdiff
path: root/doc/bugs/JSON_output_broken_with___34__git_annex_sync__34__.mdwn
blob: b53ddf957940be5107761adddc2430f60ab95f87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
What steps will reproduce the problem?

    $ git annex -j sync | json_reformat

What is the expected output? What do you see instead?

Expecting valid JSON, instead this happens:

    $ git annex -j sync | json_reformat 
    lexical error: invalid char in json text.
              {"command":"commit","file":""# On branch master nothing to c
                         (right here) ------^
    $ 


What version of git-annex are you using? On what operating system?

Newest standalone (3.20121126), Linux i386. The "joson_reformat" program is from the "yajl-tools" .deb package.