use hash-object --batch
Handle was plumbed through, but not used.
This commit is contained in:
parent
88a4a6f396
commit
00d9da3534
1 changed files with 1 additions and 1 deletions
|
@ -564,7 +564,7 @@ performTransitionsLocked jl ts neednewlocalbranch transitionedrefs = do
|
||||||
-- transitions on it.
|
-- transitions on it.
|
||||||
return ()
|
return ()
|
||||||
ChangeFile content' -> do
|
ChangeFile content' -> do
|
||||||
sha <- inRepo $ hashObject BlobObject content'
|
sha <- liftIO $ hashBlob hasher content'
|
||||||
Annex.Queue.addUpdateIndex $ Git.UpdateIndex.pureStreamer $
|
Annex.Queue.addUpdateIndex $ Git.UpdateIndex.pureStreamer $
|
||||||
Git.UpdateIndex.updateIndexLine sha FileBlob (asTopFilePath file)
|
Git.UpdateIndex.updateIndexLine sha FileBlob (asTopFilePath file)
|
||||||
apply rest hasher file content' trustmap
|
apply rest hasher file content' trustmap
|
||||||
|
|
Loading…
Reference in a new issue