aboutsummaryrefslogtreecommitdiffstats
path: root/bug/op_label_change.go
diff options
context:
space:
mode:
Diffstat (limited to 'bug/op_label_change.go')
-rw-r--r--bug/op_label_change.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/bug/op_label_change.go b/bug/op_label_change.go
index 120671fb..c245d1a5 100644
--- a/bug/op_label_change.go
+++ b/bug/op_label_change.go
@@ -4,6 +4,7 @@ import (
"fmt"
"sort"
+ "github.com/MichaelMure/git-bug/util/git"
"github.com/pkg/errors"
)
@@ -20,6 +21,10 @@ func (op LabelChangeOperation) base() *OpBase {
return op.OpBase
}
+func (op LabelChangeOperation) Hash() (git.Hash, error) {
+ return hashOperation(op)
+}
+
// Apply apply the operation
func (op LabelChangeOperation) Apply(snapshot Snapshot) Snapshot {
// Add in the set