avoid inflating error counter when forking and merging annex state
This commit is contained in:
parent
1489fbbdde
commit
2634a5ed99
1 changed files with 2 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue