diff options
Diffstat (limited to 'Limit')
-rw-r--r-- | Limit/Wanted.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Limit/Wanted.hs b/Limit/Wanted.hs index 7e9278202..01b8da6b3 100644 --- a/Limit/Wanted.hs +++ b/Limit/Wanted.hs @@ -13,10 +13,10 @@ import Limit import Types.FileMatcher addWantGet :: Annex () -addWantGet = addLimit $ Right $ const $ checkWant $ wantGet False +addWantGet = addLimit $ Right $ const $ checkWant $ wantGet False Nothing addWantDrop :: Annex () -addWantDrop = addLimit $ Right $ const $ checkWant $ wantDrop False Nothing +addWantDrop = addLimit $ Right $ const $ checkWant $ wantDrop False Nothing Nothing checkWant :: (Maybe FilePath -> Annex Bool) -> MatchInfo -> Annex Bool checkWant a (MatchingFile fi) = a (Just $ matchFile fi) |