followup to bug I cannot reproduce, and analysis based presumptive fix

This commit is contained in:
Joey Hess 2015-04-09 14:03:44 -04:00
parent e1d1c4f51c
commit b99b8d5d4c
2 changed files with 28 additions and 0 deletions

View file

@ -414,6 +414,7 @@ stageJournal jl = withIndex $ do
g <- gitRepo
let dir = gitAnnexJournalDir g
(jlogf, jlogh) <- openjlog
liftIO $ fileEncoding jlogh
withJournalHandle $ \jh -> do
h <- hashObjectStart g
Git.UpdateIndex.streamUpdateIndex g