Fix locking of files with staged changes.
Previously, lock would skip files that had staged changes, but that is counterintuitive, I think.
This commit is contained in:
parent
181920fab9
commit
fb259033d4
2 changed files with 2 additions and 1 deletions
|
@ -19,7 +19,7 @@ command :: [Command]
|
|||
command = [repoCommand "lock" paramPath seek "undo unlock command"]
|
||||
|
||||
seek :: [CommandSeek]
|
||||
seek = [withFilesUnlocked start]
|
||||
seek = [withFilesUnlocked start, withFilesUnlockedToBeCommitted start]
|
||||
|
||||
{- Undo unlock -}
|
||||
start :: CommandStartBackendFile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue