From 689ba5d369e96e49f248414a55394817aa4c8611 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 9 Dec 2016 12:56:38 -0400 Subject: fix --- Remote/Git.hs | 4 ++-- 1 file 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 -- cgit v1.2.3