aboutsummaryrefslogtreecommitdiffstats
path: root/bug/op_create.go
diff options
context:
space:
mode:
Diffstat (limited to 'bug/op_create.go')
-rw-r--r--bug/op_create.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/bug/op_create.go b/bug/op_create.go
index 2852a519..c65b3bd8 100644
--- a/bug/op_create.go
+++ b/bug/op_create.go
@@ -23,6 +23,10 @@ func (op CreateOperation) base() *OpBase {
return op.OpBase
}
+func (op CreateOperation) Hash() (git.Hash, error) {
+ return hashOperation(op)
+}
+
func (op CreateOperation) Apply(snapshot Snapshot) Snapshot {
snapshot.Title = op.Title
snapshot.Comments = []Comment{