assistant: In direct mode, objects are now only dropped when all associated files are unwanted. This avoids a repreated drop/get loop of a file that has a copy in an archive directory, and a copy not in an archive directory. (Indirect mode still has some buggy behavior in this area, since it does not keep track of associated files.) Closes: #712060

This commit is contained in:
Joey Hess 2013-06-15 14:44:43 -04:00
parent e7b4d7320e
commit 0527c74c0f
5 changed files with 47 additions and 21 deletions

View file

@ -7,6 +7,7 @@
module Annex.Content.Direct (
associatedFiles,
associatedFilesRelative,
removeAssociatedFile,
removeAssociatedFileUnchecked,
addAssociatedFile,