aboutsummaryrefslogtreecommitdiffstats
path: root/bug/op_set_status.go
diff options
context:
space:
mode:
Diffstat (limited to 'bug/op_set_status.go')
-rw-r--r--bug/op_set_status.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/bug/op_set_status.go b/bug/op_set_status.go
index d6df3da4..19af46c2 100644
--- a/bug/op_set_status.go
+++ b/bug/op_set_status.go
@@ -1,6 +1,7 @@
package bug
import (
+ "github.com/MichaelMure/git-bug/util/git"
"github.com/pkg/errors"
)
@@ -17,6 +18,10 @@ func (op SetStatusOperation) base() *OpBase {
return op.OpBase
}
+func (op SetStatusOperation) Hash() (git.Hash, error) {
+ return hashOperation(op)
+}
+
func (op SetStatusOperation) Apply(snapshot Snapshot) Snapshot {
snapshot.Status = op.Status