aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/copy_does_not_reflect_some_failed_copies_in_--json_output.mdwn
blob: 1d216cc05f8b9105f1d3f153c78798067267e729 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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]]