aboutsummaryrefslogtreecommitdiffstats
path: root/bug/op_add_comment.go
diff options
context:
space:
mode:
Diffstat (limited to 'bug/op_add_comment.go')
-rw-r--r--bug/op_add_comment.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/bug/op_add_comment.go b/bug/op_add_comment.go
index 0a3a5a37..300609fb 100644
--- a/bug/op_add_comment.go
+++ b/bug/op_add_comment.go
@@ -22,6 +22,10 @@ func (op AddCommentOperation) base() *OpBase {
return op.OpBase
}
+func (op AddCommentOperation) Hash() (git.Hash, error) {
+ return hashOperation(op)
+}
+
func (op AddCommentOperation) Apply(snapshot Snapshot) Snapshot {
comment := Comment{
Message: op.Message,