summaryrefslogtreecommitdiff
path: root/Command
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-05-31 14:58:06 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-05-31 15:00:56 -0400
commitfb259033d44cda1e2470d5029940d7b0725b4add (patch)
tree43fafffc35bb7da5bec0cbfc8d92ecedd8f1b574 /Command
parent181920fab9d352d74404d0e64e0728b6654922d9 (diff)
Fix locking of files with staged changes.
Previously, lock would skip files that had staged changes, but that is counterintuitive, I think.
Diffstat (limited to 'Command')
-rw-r--r--Command/Lock.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Lock.hs b/Command/Lock.hs
index e21792143..e55cd9e79 100644
--- a/Command/Lock.hs
+++ b/Command/Lock.hs
@@ -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