@@ -341,10 +341,19 @@ func issuesAndChanges(repo *maintner.GitHubRepo, gerrit *maintner.Gerrit) ( case change.OpenState: openChanges = append(openChanges, ChangeAndPaths{c, paths}) case change.ClosedState, change.MergedState: closedChanges = append(closedChanges, ChangeAndPaths{c, paths}) } } else if root != "" { // Consider this change that didn't match any existing directories // to belong to the repository root. switch c.State { case change.OpenState: openChanges = append(openChanges, ChangeAndPaths{c, []string{root}}) case change.ClosedState, change.MergedState: closedChanges = append(closedChanges, ChangeAndPaths{c, []string{root}}) } } return nil }) return err