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 --- commands/open.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'commands/open.go') diff --git a/commands/open.go b/commands/open.go index 91704da3f..564169316 100644 --- a/commands/open.go +++ b/commands/open.go @@ -23,7 +23,12 @@ func runOpenBug(repo repository.Repo, args []string) error { return err } - op := operations.NewSetStatusOp(bug.OpenStatus) + author, err := bug.GetUser(repo) + if err != nil { + return err + } + + op := operations.NewSetStatusOp(author, bug.OpenStatus) b.Append(op) -- cgit v1.2.3