aboutsummaryrefslogtreecommitdiff
path: root/Annex/Concurrent.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-03-14 15:58:46 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-03-14 15:58:46 -0400
commit90db9740d0d64b34f2e46f57f8aaca235088734c (patch)
treeac4d7e1b03bfcc337d02569acb87a1481f610746 /Annex/Concurrent.hs
parent9b29bd39c8dbf23bdf6930b51aba13992ccc49de (diff)
Sped up git-annex add in direct mode and v6 by using git hash-object --batch.
Speeds up hashSymlink and hashPointerFile.
Diffstat (limited to 'Annex/Concurrent.hs')
-rw-r--r--Annex/Concurrent.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Annex/Concurrent.hs b/Annex/Concurrent.hs
index d5809df45..ee19d4766 100644
--- a/Annex/Concurrent.hs
+++ b/Annex/Concurrent.hs
@@ -11,6 +11,7 @@ import Annex.Common
import Annex
import Annex.CatFile
import Annex.CheckAttr
+import Annex.HashObject
import Annex.CheckIgnore
import qualified Annex.Queue
@@ -64,4 +65,5 @@ mergeState st = do
closehandles = do
catFileStop
checkAttrStop
+ hashObjectStop
checkIgnoreStop