From: erics Date: Sun, 25 Sep 2016 00:33:57 +0000 (+0000) Subject: Added a comment X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~1^2~298^2~75^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a11c700aea11c4f9d16a5af3bd373f19255ed8e9;p=git-annex.git Added a 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.) +"""]]