aboutsummaryrefslogtreecommitdiff
path: root/Annex/Content
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-03-16 16:58:40 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-03-16 17:04:48 -0400
commit5deaa7c59bd330a7b20a19aee3fe01e6283ec9c8 (patch)
tree20cefbd0e6d52f096c48acb27d0fffc08bec2419 /Annex/Content
parent8560f266ebcafb59b9da88a99144a336e1aa747e (diff)
remove old debug print
Diffstat (limited to 'Annex/Content')
-rw-r--r--Annex/Content/Direct.hs10
1 files changed, 2 insertions, 8 deletions
diff --git a/Annex/Content/Direct.hs b/Annex/Content/Direct.hs
index 523e15f18..bbf6e310d 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