diff options
Diffstat (limited to 'Annex/FileMatcher.hs')
-rw-r--r-- | Annex/FileMatcher.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Annex/FileMatcher.hs b/Annex/FileMatcher.hs index cded857a2..96cb8fd6f 100644 --- a/Annex/FileMatcher.hs +++ b/Annex/FileMatcher.hs @@ -35,11 +35,11 @@ checkFileMatcher' matcher file notpresent def | isEmpty matcher = return def | otherwise = do matchfile <- getTopFilePath <$> inRepo (toTopFilePath file) - let fi = FileInfo + let mi = MatchingFile $ FileInfo { matchFile = matchfile , relFile = file } - matchMrun matcher $ \a -> a notpresent fi + matchMrun matcher $ \a -> a notpresent mi matchAll :: FileMatcher matchAll = generate [] |