diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-06-16 18:37:41 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-06-16 18:37:41 -0400 |
commit | e3da28295e11972bcb14749ef294d1f39fb03efa (patch) | |
tree | 3d30dde99abd43c739395f8ef943ad6129693a9c /Command/Unused.hs | |
parent | 87ba1abc7cd1b199b0f7d778d9f27375b50de709 (diff) |
instance Hashable Key for bloomfilter
Diffstat (limited to 'Command/Unused.hs')
-rw-r--r-- | Command/Unused.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Unused.hs b/Command/Unused.hs index 82a605290..7bf252243 100644 --- a/Command/Unused.hs +++ b/Command/Unused.hs @@ -167,7 +167,7 @@ excludeReferenced :: RefSpec -> [Key] -> Annex [Key] excludeReferenced refspec ks = runfilter firstlevel ks >>= runfilter secondlevel where runfilter _ [] = return [] -- optimisation - runfilter a l = bloomFilter show l <$> genBloomFilter show a + runfilter a l = bloomFilter l <$> genBloomFilter a firstlevel = withKeysReferencedM secondlevel = withKeysReferencedInGit refspec |