diff options
author | Michael Muré <batolettre@gmail.com> | 2018-10-01 23:33:25 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-10-01 23:33:25 +0200 |
commit | f18c2d278352f556b90ad9a52c33499665e16fa2 (patch) | |
tree | bbe4f9674898f288469dbb72fe0036c37066e4f5 /bug | |
parent | 0fe7958aba02f53e2767f8dfa5017e1055185bcc (diff) | |
download | git-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.go | 1 |
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 |