aboutsummaryrefslogtreecommitdiffstats
path: root/bug
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-10-01 23:33:25 +0200
committerMichael Muré <batolettre@gmail.com>2018-10-01 23:33:25 +0200
commitf18c2d278352f556b90ad9a52c33499665e16fa2 (patch)
treebbe4f9674898f288469dbb72fe0036c37066e4f5 /bug
parent0fe7958aba02f53e2767f8dfa5017e1055185bcc (diff)
downloadgit-bug-f18c2d278352f556b90ad9a52c33499665e16fa2.tar.gz
bug: make sure to invalidate the hash when changing an op's metadata
Diffstat (limited to 'bug')
-rw-r--r--bug/operation.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/bug/operation.go b/bug/operation.go
index 08d44d0c..f42a1192 100644
--- a/bug/operation.go
+++ b/bug/operation.go
@@ -137,6 +137,7 @@ func (op *OpBase) SetMetadata(key string, value string) {
}
op.Metadata[key] = value
+ op.hash = ""
}
// GetMetadata retrieve arbitrary metadata about the operation