aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cache/repo_cache.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/cache/repo_cache.go b/cache/repo_cache.go
index de8b0fa9..7ae8bb1d 100644
--- a/cache/repo_cache.go
+++ b/cache/repo_cache.go
@@ -332,6 +332,8 @@ func (c *RepoCache) MergeAll(remote string) <-chan bug.MergeResult {
results := bug.MergeAll(c.repo, remote)
for result := range results {
+ out <- result
+
if result.Err != nil {
continue
}
@@ -343,11 +345,7 @@ func (c *RepoCache) MergeAll(remote string) <-chan bug.MergeResult {
b := result.Bug
snap := b.Compile()
c.excerpts[id] = NewBugExcerpt(b, &snap)
-
- default:
}
-
- out <- result
}
err := c.write()