diff options
author | Joey Hess <joey@kitenet.net> | 2012-12-29 14:28:19 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-12-29 14:28:19 -0400 |
commit | ee3407de64d52d91500c6b761ad45c7a22eb73cb (patch) | |
tree | 5740f4e2c706f033d1a18602eb7e9148f6a1f365 /Command/Lock.hs | |
parent | 1b007068ca4936306889b8b3af2bf224746a2318 (diff) |
block all commands that don't work in direct mode
I left status working in direct mode, although it doesn't show correct
stats for known annex keys.
Diffstat (limited to 'Command/Lock.hs')
-rw-r--r-- | Command/Lock.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Lock.hs b/Command/Lock.hs index 8aadf3f59..c34e6a16b 100644 --- a/Command/Lock.hs +++ b/Command/Lock.hs @@ -12,7 +12,7 @@ import Command import qualified Annex.Queue def :: [Command] -def = [command "lock" paramPaths seek "undo unlock command"] +def = [notDirect $ command "lock" paramPaths seek "undo unlock command"] seek :: [CommandSeek] seek = [withFilesUnlocked start, withFilesUnlockedToBeCommitted start] |