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.
This commit is contained in:
parent
9f2150c7d3
commit
2ce736ac50
24 changed files with 41 additions and 40 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue