refactored and generalized pre-command sanity checking
This commit is contained in:
parent
66194684ac
commit
5b74b130a3
38 changed files with 73 additions and 67 deletions
|
@ -13,7 +13,7 @@ import qualified Annex.Queue
|
|||
import Backend
|
||||
|
||||
command :: [Command]
|
||||
command = [repoCommand "lock" paramPaths seek "undo unlock command"]
|
||||
command = [Command "lock" paramPaths needsRepo seek "undo unlock command"]
|
||||
|
||||
seek :: [CommandSeek]
|
||||
seek = [withFilesUnlocked start, withFilesUnlockedToBeCommitted start]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue