diff options
author | Michael Muré <batolettre@gmail.com> | 2018-07-18 00:16:06 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-07-18 00:16:06 +0200 |
commit | ba3281dc9918fa49f10c2a166b5b631a931d2d51 (patch) | |
tree | f6e9d17fa7828634f250c7af0674d5405ba0d224 /bug/bug.go | |
parent | 6f83d89274fc796e01149c84b91b8aa2066f0273 (diff) | |
download | git-bug-ba3281dc9918fa49f10c2a166b5b631a931d2d51.tar.gz |
all operations now have an author and a timestamp
Diffstat (limited to 'bug/bug.go')
-rw-r--r-- | bug/bug.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -376,7 +376,9 @@ func (bug *Bug) Compile() Snapshot { it := NewOperationIterator(bug) for it.Next() { - snap = it.Value().Apply(snap) + op := it.Value() + snap = op.Apply(snap) + snap.Operations = append(snap.Operations, op) } return snap |