aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/copy_does_not_reflect_some_failed_copies_in_--json_output.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/bugs/copy_does_not_reflect_some_failed_copies_in_--json_output.mdwn')
-rw-r--r--doc/bugs/copy_does_not_reflect_some_failed_copies_in_--json_output.mdwn23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/bugs/copy_does_not_reflect_some_failed_copies_in_--json_output.mdwn b/doc/bugs/copy_does_not_reflect_some_failed_copies_in_--json_output.mdwn
new file mode 100644
index 000000000..1d216cc05
--- /dev/null
+++ b/doc/bugs/copy_does_not_reflect_some_failed_copies_in_--json_output.mdwn
@@ -0,0 +1,23 @@
+### Please describe the problem.
+
+see below. expected: entries on failed copies with "success"=false, and not just error messages
+
+
+[[!format sh """
+
+$> git annex copy --to=neurosmaug svgtune_0.2.0.orig.tar.gz nonexisting
+git-annex: nonexisting not found
+copy svgtune_0.2.0.orig.tar.gz (checking neurosmaug...) ok
+git-annex: copy: 1 failed
+
+$> git annex copy --to=neurosmaug svgtune_0.2.0.orig.tar.gz nonexisting --json
+git-annex: nonexisting not found
+{"command":"copy","note":"checking neurosmaug...","success":true,"key":"SHA256E-s5121--6d8f7d10206a120a42bec2cd29bc2365d09889fdf070ac8c67d1cff0b1539f63.tar.gz","file":"svgtune_0.2.0.orig.tar.gz"}
+git-annex: copy: 1 failed
+
+$> git annex version
+git-annex version: 6.20170220+gitg75a15e1ad-1~ndall+1
+
+"""]]
+
+[[!meta author=yoh]]