From ba3281dc9918fa49f10c2a166b5b631a931d2d51 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Wed, 18 Jul 2018 00:16:06 +0200 Subject: all operations now have an author and a timestamp --- bug/bug.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bug/bug.go') diff --git a/bug/bug.go b/bug/bug.go index 7f068c05..398bdb9f 100644 --- a/bug/bug.go +++ b/bug/bug.go @@ -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 -- cgit