oops, didn't mean to commit this debug

This commit is contained in:
Joey Hess 2015-10-06 17:28:20 -04:00
parent ba7ecf68c0
commit 6fbabfcf16

View file

@ -57,13 +57,8 @@ checkMap getmap mu notpresent mkey afile d = do
u <- maybe getUUID return mu u <- maybe getUUID return mu
m <- getmap m <- getmap
case M.lookup u m of case M.lookup u m of
Nothing -> do Nothing -> return d
liftIO $ print ("default for", u, d) Just matcher -> checkMatcher matcher mkey afile notpresent d
return d
Just matcher -> do
r <- checkMatcher matcher mkey afile notpresent d
liftIO $ print ("checking for ", u, r)
return r
preferredContentMap :: Annex (FileMatcherMap Annex) preferredContentMap :: Annex (FileMatcherMap Annex)
preferredContentMap = maybe (fst <$> preferredRequiredMapsLoad) return preferredContentMap = maybe (fst <$> preferredRequiredMapsLoad) return