From fff466aa2b242426c6e6565a1bc687487de16bb1 Mon Sep 17 00:00:00 2001 From: Ilya_Shlyakhter Date: Wed, 19 Sep 2018 17:16:27 +0000 Subject: [PATCH] Added a comment --- ..._bce61517b231aafc4d31a556805ea7ca._comment | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 doc/git-annex-whereis/comment_1_bce61517b231aafc4d31a556805ea7ca._comment diff --git a/doc/git-annex-whereis/comment_1_bce61517b231aafc4d31a556805ea7ca._comment b/doc/git-annex-whereis/comment_1_bce61517b231aafc4d31a556805ea7ca._comment new file mode 100644 index 0000000000..07b37d3b46 --- /dev/null +++ b/doc/git-annex-whereis/comment_1_bce61517b231aafc4d31a556805ea7ca._comment @@ -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? +"""]]