aboutsummaryrefslogtreecommitdiff
path: root/Limit/Wanted.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Limit/Wanted.hs')
-rw-r--r--Limit/Wanted.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Limit/Wanted.hs b/Limit/Wanted.hs
index 237cb7ae0..c11e24b7d 100644
--- a/Limit/Wanted.hs
+++ b/Limit/Wanted.hs
@@ -21,3 +21,4 @@ addWantDrop = addLimit $ Right $ const $ checkWant $ wantDrop False Nothing Noth
checkWant :: (Maybe FilePath -> Annex Bool) -> MatchInfo -> Annex Bool
checkWant a (MatchingFile fi) = a (Just $ matchFile fi)
checkWant _ (MatchingKey _) = return False
+checkWant _ (MatchingInfo {}) = return False