From a11c700aea11c4f9d16a5af3bd373f19255ed8e9 Mon Sep 17 00:00:00 2001 From: erics Date: Sun, 25 Sep 2016 00:33:57 +0000 Subject: [PATCH] Added a comment --- ...omment_4_cb92e81c1ea00ca72f9a5ee729d627f4._comment | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 doc/todo/transitive_transfers/comment_4_cb92e81c1ea00ca72f9a5ee729d627f4._comment diff --git a/doc/todo/transitive_transfers/comment_4_cb92e81c1ea00ca72f9a5ee729d627f4._comment b/doc/todo/transitive_transfers/comment_4_cb92e81c1ea00ca72f9a5ee729d627f4._comment new file mode 100644 index 0000000000..bf6887ec52 --- /dev/null +++ b/doc/todo/transitive_transfers/comment_4_cb92e81c1ea00ca72f9a5ee729d627f4._comment @@ -0,0 +1,11 @@ +[[!comment format=mdwn + username="erics" + subject="comment 4" + date="2016-09-25T00:33:56Z" + content=""" +> And there is a complication with running [`git annex copy --from --to`] at the same time as eg `git annex get` of the same file. It would be surprising for get to succeed (because copy has already temporarily downloaded the file) and then have the file later get dropped. + +A solution to this subproblem would transparently fall out of a facility for [logically dropping files](http://git-annex.branchable.com/todo/wishlist__58_____96__git_annex_drop_--relaxed__96__/#comment-9672d46a18a381971dd818cde6efbc33), which was briefly talked about a long time ago. Just mark the file as *logically dropped*. If the user `git annex get`s it while the copy-out is in progress, its status will change to \"present\", so *copy* will know not to physically delete it. + +(Of course there are race conditions involved, but I presume/hope that they're no worse than git-annex already has to deal with.) +"""]]