diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-12-09 12:56:38 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-12-09 12:56:38 -0400 |
commit | 689ba5d369e96e49f248414a55394817aa4c8611 (patch) | |
tree | 10d1b9031908e71685a7022cb35b79ccc40406bc /Remote | |
parent | 772719d73a6feb182cbd69a632ed39bc6dc13f2f (diff) |
fix
Diffstat (limited to 'Remote')
-rw-r--r-- | Remote/Git.hs | 4 |
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 |