aboutsummaryrefslogtreecommitdiff
path: root/Annex
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-01-04 15:38:59 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-01-04 15:38:59 -0400
commit2e2898129d7453a2b98ed665929dbe957ce2d0ea (patch)
tree8e96c23ad76a05b5cc19af9cbc09dcd3f5d01081 /Annex
parent042a78da4ca47e6400ac2096754a46f5ac3fbec9 (diff)
also check diskreserve for quvi downloads
Diffstat (limited to 'Annex')
-rw-r--r--Annex/Content.hs1
1 files changed, 0 insertions, 1 deletions
diff --git a/Annex/Content.hs b/Annex/Content.hs
index 99a2f6c28..316f05be0 100644
--- a/Annex/Content.hs
+++ b/Annex/Content.hs
@@ -222,7 +222,6 @@ checkDiskSpace destination key alreadythere = do
reserve <- annexDiskReserve <$> Annex.getGitConfig
free <- liftIO . getDiskFree =<< dir
force <- Annex.getState Annex.force
- liftIO $ print (free, keySize key)
case (free, keySize key) of
(Just have, Just need) -> do
let ok = (need + reserve <= have + alreadythere) || force