From 836561e057cfe0b97d26ff7c67a9409feaea82e0 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 8 Oct 2012 16:12:02 -0400 Subject: [PATCH] fix invered logic for shouldDrop --- Annex/Wanted.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Annex/Wanted.hs b/Annex/Wanted.hs index a92b1036f8..2775c22cbe 100644 --- a/Annex/Wanted.hs +++ b/Annex/Wanted.hs @@ -47,4 +47,4 @@ shouldDrop _ _ False = return True shouldDrop from file True = do fp <- inRepo $ toTopFilePath file u <- maybe getUUID (return . Remote.uuid) from - isPreferredContent (Just u) (S.singleton u) fp + not <$> isPreferredContent (Just u) (S.singleton u) fp