avoid inflating error counter when forking and merging annex state

This commit is contained in:
Joey Hess 2020-07-19 18:31:25 -04:00
parent 1489fbbdde
commit 2634a5ed99
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -82,6 +82,8 @@ dupState = do
return $ st'
-- each thread has its own repoqueue
{ Annex.repoqueue = Nothing
-- no errors from this thread yet
, Annex.errcounter = 0
}
{- Merges the passed AnnexState into the current Annex state.