summaryrefslogtreecommitdiff
path: root/Command/Info.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-03-07 12:43:56 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-03-07 12:43:56 -0400
commit2356a2557a65073bc61fc909a5806615129114d3 (patch)
treecb2460b15957628834403bb4f1c30c903dbf09e8 /Command/Info.hs
parent657f2518895dd055f083140ff644c144cbe72305 (diff)
Fix direct mode getKeysPresent false positive & also sped up direct mode unused and unannex
unused: In direct mode, files that are deleted from the work tree are no longer incorrectly detected as unused. Direct mode `git annex info` slows down a bit due to more stringent checking, but not by a lot.
Diffstat (limited to 'Command/Info.hs')
-rw-r--r--Command/Info.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Info.hs b/Command/Info.hs
index f27fdfb1d..11ed98cd9 100644
--- a/Command/Info.hs
+++ b/Command/Info.hs
@@ -281,7 +281,7 @@ cachedPresentData = do
case presentData s of
Just v -> return v
Nothing -> do
- v <- foldKeys <$> lift getKeysPresent
+ v <- foldKeys <$> lift (getKeysPresent InRepository)
put s { presentData = Just v }
return v