aboutsummaryrefslogtreecommitdiff
path: root/Assistant/Drop.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-01-01 17:39:33 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-01-01 17:39:33 -0400
commit5920ca6fe9a27cdbd9757a935a611169fc315b09 (patch)
tree5ca68b19d6dd088c182436b800fd8d6763c92e7e /Assistant/Drop.hs
parent874374e3b048ce1e9b9ef6e8b60b0a4debf93c90 (diff)
mirror: Support --all (and --unused).
Diffstat (limited to 'Assistant/Drop.hs')
-rw-r--r--Assistant/Drop.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Assistant/Drop.hs b/Assistant/Drop.hs
index d677a69c8..d9d812397 100644
--- a/Assistant/Drop.hs
+++ b/Assistant/Drop.hs
@@ -102,10 +102,10 @@ handleDropsFrom locs rs reason fromhere key (Just afile) knownpresentremote = do
)
dropl fs n = checkdrop fs n Nothing $ \numcopies ->
- Command.Drop.startLocal afile numcopies key knownpresentremote
+ Command.Drop.startLocal (Just afile) numcopies key knownpresentremote
dropr fs r n = checkdrop fs n (Just $ Remote.uuid r) $ \numcopies ->
- Command.Drop.startRemote afile numcopies key r
+ Command.Drop.startRemote (Just afile) numcopies key r
safely a = either (const False) id <$> tryAnnex a