diff options
author | http://joeyh.name/ <http://joeyh.name/@web> | 2012-11-04 19:58:28 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2012-11-04 19:58:28 +0000 |
commit | 072232f35f934533ad20be387ddd62a04d7e3692 (patch) | |
tree | 15d967a824ec0bc88fef440224884c596a164297 | |
parent | f317ee754913c2cd4640de112f5bc137de3984e8 (diff) |
Added a comment
-rw-r--r-- | doc/todo/whishlist:_make_partial_files_available_during_transfer/comment_3_1304a721da6f5133fdfa1dac507f1ecb._comment | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/todo/whishlist:_make_partial_files_available_during_transfer/comment_3_1304a721da6f5133fdfa1dac507f1ecb._comment b/doc/todo/whishlist:_make_partial_files_available_during_transfer/comment_3_1304a721da6f5133fdfa1dac507f1ecb._comment new file mode 100644 index 000000000..8e955fd48 --- /dev/null +++ b/doc/todo/whishlist:_make_partial_files_available_during_transfer/comment_3_1304a721da6f5133fdfa1dac507f1ecb._comment @@ -0,0 +1,10 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="4.152.108.194" + subject="comment 3" + date="2012-11-04T19:58:28Z" + content=""" +I'm not at all comfortable with either idea. Temporarily repointing the symlink could lead to accidentially git committing a bad symlink. Or the user accidentially doing something with a partially transferred file. Running rsync in place would break lots of things that assume that, once the file is present, it can be assumed to be the full and correct file. (Obviously fsck doesn't assume that, but checks made by `git annex drop` do, for example.) + +However, you can access partially transferred files by key in `.git/annex/tmp`. It would be easy to write some hack that looks at the symlink to get the key, and then spits out the name of the partial file in `.git/annex/tmp.`. +"""]] |