aboutsummaryrefslogtreecommitdiffstats
path: root/bug/op_edit_comment.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-03-28 01:21:41 +0100
committerMichael Muré <batolettre@gmail.com>2019-03-28 01:21:41 +0100
commit0a71e6d269e60f844a2d08069ca5bdee9b91b388 (patch)
tree25afa74bdf5e3a394a398b5996fb0554306429d4 /bug/op_edit_comment.go
parent029861fa0ee99845dfdc3c0e38748608109233ed (diff)
downloadgit-bug-0a71e6d269e60f844a2d08069ca5bdee9b91b388.tar.gz
commands: display comment's id in "git bug comment"
Diffstat (limited to 'bug/op_edit_comment.go')
-rw-r--r--bug/op_edit_comment.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/bug/op_edit_comment.go b/bug/op_edit_comment.go
index 527b7440..5a223e01 100644
--- a/bug/op_edit_comment.go
+++ b/bug/op_edit_comment.go
@@ -57,6 +57,7 @@ func (op *EditCommentOperation) Apply(snapshot *Snapshot) {
}
comment := Comment{
+ id: string(op.Target),
Message: op.Message,
Files: op.Files,
UnixTime: timestamp.Timestamp(op.UnixTime),