diff options
Diffstat (limited to 'Command/Find.hs')
-rw-r--r-- | Command/Find.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Command/Find.hs b/Command/Find.hs index 46364c987..c816ff071 100644 --- a/Command/Find.hs +++ b/Command/Find.hs @@ -16,10 +16,10 @@ def :: [Command] def = [command "find" paramPaths seek "lists available files"] seek :: [CommandSeek] -seek = [withFilesInGit start] +seek = [withFilesInGit $ whenAnnexed start] -start :: FilePath -> CommandStart -start file = isAnnexed file $ \(key, _) -> do +start :: FilePath -> (Key, Backend Annex) -> CommandStart +start file (key, _) = do -- only files inAnnex are shown, unless the user has requested -- others via a limit whenM (liftM2 (||) (inAnnex key) limited) $ |