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 98117f5b5..36b0023d8 100644 --- a/Command/Unlock.hs +++ b/Command/Unlock.hs @@ -20,10 +20,10 @@ editcmd :: Command editcmd = mkcmd "edit" "same as unlock" mkcmd :: String -> String -> Command -mkcmd n = notDirect . withOptions annexedMatchingOptions - . command n paramPaths seek SectionCommon +mkcmd n d = notDirect $ withOptions annexedMatchingOptions $ + command n SectionCommon d paramPaths (withParams seek) -seek :: CommandSeek +seek :: CmdParams -> CommandSeek seek = withFilesInGit $ whenAnnexed start {- The unlock subcommand replaces the symlink with a copy of the file's |