summaryrefslogtreecommitdiff
path: root/Remote
diff options
context:
space:
mode:
Diffstat (limited to 'Remote')
-rw-r--r--Remote/Git.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Remote/Git.hs b/Remote/Git.hs
index 9602f81c6..37a9f48b3 100644
--- a/Remote/Git.hs
+++ b/Remote/Git.hs
@@ -356,8 +356,8 @@ dropKey r key
commitOnCleanup r $ onLocal r $ do
ensureInitialized
whenM (Annex.Content.inAnnex key) $ do
- Annex.Content.lockContentForRemoval key $ do
- Annex.Content.removeAnnex
+ Annex.Content.lockContentForRemoval key $ \lock -> do
+ Annex.Content.removeAnnex lock
logStatus key InfoMissing
Annex.Content.saveState True
return True