aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Remote/Git.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Remote/Git.hs b/Remote/Git.hs
index a7cecfc5c..abefc113e 100644
--- a/Remote/Git.hs
+++ b/Remote/Git.hs
@@ -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