diff options
author | Joey Hess <joey@kitenet.net> | 2011-11-09 19:47:04 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-11-09 19:47:04 -0400 |
commit | 992bf133823b6884e9fb1b320fd33d3fb337ee30 (patch) | |
tree | 7efaa7f08c6a100ddedb1d75ed67a7118f446e88 /Command | |
parent | d3e1a3619ff6939367f43cbd46131b7f60ef6bd0 (diff) |
lockContent in dropkey
This is needed for drop --from and move --from to check the lock,
as they do not use git-annex-shell inannex.
Diffstat (limited to 'Command')
-rw-r--r-- | Command/DropKey.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/DropKey.hs b/Command/DropKey.hs index cac955b4a..b63d481bf 100644 --- a/Command/DropKey.hs +++ b/Command/DropKey.hs @@ -35,7 +35,7 @@ start key = do error "dropkey can cause data loss; use --force if you're sure you want to do this" perform :: Key -> CommandPerform -perform key = do +perform key = lockContent key $ do removeAnnex key next $ cleanup key |