aboutsummaryrefslogtreecommitdiff
path: root/Annex/Content
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-06-15 14:44:43 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-06-15 14:44:43 -0400
commit2834b8880407cd4942766ddfacff94f22da1700a (patch)
tree69a2c584773fd81180172746e4d0d7a943dfaffd /Annex/Content
parent2c0428907a8f17b2957ec08cd7ba6bd05e173a4e (diff)
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
Diffstat (limited to 'Annex/Content')
-rw-r--r--Annex/Content/Direct.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Annex/Content/Direct.hs b/Annex/Content/Direct.hs
index b9c78f8c0..e061f8e57 100644
--- a/Annex/Content/Direct.hs
+++ b/Annex/Content/Direct.hs
@@ -7,6 +7,7 @@
module Annex.Content.Direct (
associatedFiles,
+ associatedFilesRelative,
removeAssociatedFile,
removeAssociatedFileUnchecked,
addAssociatedFile,