diff --git a/Annex/Content/Direct.hs b/Annex/Content/Direct.hs index 523e15f18f..bbf6e310d4 100644 --- a/Annex/Content/Direct.hs +++ b/Annex/Content/Direct.hs @@ -150,12 +150,8 @@ compareInodeCaches :: InodeCache -> InodeCache -> Annex Bool compareInodeCaches x y | compareStrong x y = return True | otherwise = ifM inodesChanged - ( do - liftIO $ print ("compareInodeCaches weak") - return $ compareWeak x y - , do - liftIO $ print ("compareInodeCaches no inode change but cache not match") - return False + ( return $ compareWeak x y + , return False ) compareInodeCachesWith :: Annex InodeComparisonType @@ -175,11 +171,9 @@ inodesChanged = maybe calc return =<< Annex.getState Annex.inodeschanged scache <- liftIO . genInodeCache =<< fromRepo gitAnnexInodeSentinal scached <- readInodeSentinalFile - liftIO $ print (scache, scached) let changed = case (scache, scached) of (Just c1, Just c2) -> not $ compareStrong c1 c2 _ -> True - liftIO $ print changed Annex.changeState $ \s -> s { Annex.inodeschanged = Just changed } return changed