diff options
author | 2016-03-14 16:12:55 -0400 | |
---|---|---|
committer | 2016-03-14 16:12:55 -0400 | |
commit | 168f26320bb4dd0bc76e4c0c0b7383c1f6f6f661 (patch) | |
tree | f4ebe70328d5eec82286c1d6a1359515ceeeec47 /Annex/Branch.hs | |
parent | 90db9740d0d64b34f2e46f57f8aaca235088734c (diff) |
use hash-object --batch
Handle was plumbed through, but not used.
Diffstat (limited to 'Annex/Branch.hs')
-rw-r--r-- | Annex/Branch.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Annex/Branch.hs b/Annex/Branch.hs index 6ef778801..a46a90ee9 100644 --- a/Annex/Branch.hs +++ b/Annex/Branch.hs @@ -564,7 +564,7 @@ performTransitionsLocked jl ts neednewlocalbranch transitionedrefs = do -- transitions on it. return () ChangeFile content' -> do - sha <- inRepo $ hashObject BlobObject content' + sha <- liftIO $ hashBlob hasher content' Annex.Queue.addUpdateIndex $ Git.UpdateIndex.pureStreamer $ Git.UpdateIndex.updateIndexLine sha FileBlob (asTopFilePath file) apply rest hasher file content' trustmap |