summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar http://sunny256.sunbase.org/ <sunny256@web>2012-11-27 20:57:19 +0000
committerGravatar admin <admin@branchable.com>2012-11-27 20:57:19 +0000
commitab3541a1bcfe9f2bb6cade097231f01c045de46d (patch)
treec316f8acc1f387aa237c2c56d85b6c1d8f0ee09a
parent6f34a1d989c6d3df731a6840c5c8c99fc65fbb27 (diff)
Add bug report about invalid JSON in git annex -j sync
-rw-r--r--doc/bugs/JSON_output_broken_with___34__git_annex_sync__34__.mdwn18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/bugs/JSON_output_broken_with___34__git_annex_sync__34__.mdwn b/doc/bugs/JSON_output_broken_with___34__git_annex_sync__34__.mdwn
new file mode 100644
index 000000000..b53ddf957
--- /dev/null
+++ b/doc/bugs/JSON_output_broken_with___34__git_annex_sync__34__.mdwn
@@ -0,0 +1,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.