diff options
Diffstat (limited to 'Command/Unlock.hs')
-rw-r--r-- | Command/Unlock.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Command/Unlock.hs b/Command/Unlock.hs index 590b75311..22f9ce710 100644 --- a/Command/Unlock.hs +++ b/Command/Unlock.hs @@ -22,12 +22,12 @@ def = c n = command n paramPaths seek seek :: [CommandSeek] -seek = [withFilesInGit start] +seek = [withFilesInGit $ whenAnnexed start] {- The unlock subcommand replaces the symlink with a copy of the file's - content. -} -start :: FilePath -> CommandStart -start file = isAnnexed file $ \(key, _) -> do +start :: FilePath -> (Key, Backend Annex) -> CommandStart +start file (key, _) = do showStart "unlock" file next $ perform file key |