propigate outer output state into inner state when running onLocal
Otherwise, progress displays would not be suppressed here when running with --quiet. Interesting wrinkle!
This commit is contained in:
parent
d7f66a90af
commit
e87f3b40eb
1 changed files with 2 additions and 1 deletions
|
@ -542,7 +542,8 @@ onLocal r a = do
|
|||
cache st = Annex.changeState $ \s -> s
|
||||
{ Annex.remoteannexstate = M.insert (uuid r) st (Annex.remoteannexstate s) }
|
||||
go st a' = do
|
||||
(ret, st') <- liftIO $ Annex.run st $
|
||||
curro <- Annex.getState Annex.output
|
||||
(ret, st') <- liftIO $ Annex.run (st { Annex.output = curro }) $
|
||||
catFileStop `after` a'
|
||||
cache st'
|
||||
return ret
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue