aboutsummaryrefslogtreecommitdiffstats
path: root/bug/operations
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-09-07 17:10:40 +0200
committerMichael Muré <batolettre@gmail.com>2018-09-07 17:10:40 +0200
commit61a1173ec3f202b9dc71236205de785e2a454791 (patch)
tree80b9661b1da37baacd324f32421d7fa6fc18e3ff /bug/operations
parent265ecd81d22c39cc6daccd938a1d41c5ffab23ad (diff)
downloadgit-bug-61a1173ec3f202b9dc71236205de785e2a454791.tar.gz
bug: refactor the Pull code to have the message formating in the upper layers
Diffstat (limited to 'bug/operations')
-rw-r--r--bug/operations/label_change.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/bug/operations/label_change.go b/bug/operations/label_change.go
index 5d343e5b..551b8be0 100644
--- a/bug/operations/label_change.go
+++ b/bug/operations/label_change.go
@@ -61,6 +61,7 @@ func NewLabelChangeOperation(author bug.Person, added, removed []bug.Label) Labe
// ChangeLabels is a convenience function to apply the operation
func ChangeLabels(out io.Writer, b bug.Interface, author bug.Person, add, remove []string) error {
+ // TODO: return a channel of result (like MergeAll) instead of formatting the result for the upper layers
var added, removed []bug.Label
if out == nil {