Added a comment

This commit is contained in:
Ilya_Shlyakhter 2018-09-19 17:16:27 +00:00 committed by admin
parent a12c03d858
commit fff466aa2b

View file

@ -0,0 +1,21 @@
[[!comment format=mdwn
username="Ilya_Shlyakhter"
avatar="http://cdn.libravatar.org/avatar/1647044369aa7747829c38b9dcc84df0"
subject="comment 1"
date="2018-09-19T17:16:27Z"
content="""
It's a bit strange that git-annex-whereis doesn't count the copy in the current annex as a copy:
(master_env_py27_v28) [01:07 PM /data/ilya-work/resources]$ git annex whereis hg19.bwa_idx.tar.lz4
whereis hg19.bwa_idx.tar.lz4 (0 copies) failed
git-annex: whereis: 1 failed
(master_env_py27_v28) [01:07 PM /data/ilya-work/resources]$ git annex copy hg19.bwa_idx.tar.lz4 --to ilya-s3
copy hg19.bwa_idx.tar.lz4 (checking ilya-s3...) (to ilya-s3...)
ok
(recording state in git...)
(master_env_py27_v28) [01:10 PM /data/ilya-work/resources]$ git annex whereis hg19.bwa_idx.tar.lz4
whereis hg19.bwa_idx.tar.lz4 (1 copy)
ba0d95d2-9860-430e-9c34-c088f8d8d6c9 -- [ilya-s3]
ok
The usage example seems to suggest that the current repo's copy counts as a copy?
"""]]