about summary refs log tree commit diff
path: root/submitqueue
diff options
context:
space:
mode:
Diffstat (limited to 'submitqueue')
-rw-r--r--submitqueue/result.go1
-rw-r--r--submitqueue/submitqueue.go1
2 files changed, 2 insertions, 0 deletions
diff --git a/submitqueue/result.go b/submitqueue/result.go
index a5ca662016b1..a15c2968f30d 100644
--- a/submitqueue/result.go
+++ b/submitqueue/result.go
@@ -17,6 +17,7 @@ type Result struct {
 	Series     []Serie
 	Error      error
 	startTime  time.Time
+	HEAD       string
 }
 
 // MakeResult produces a new Result struct,
diff --git a/submitqueue/submitqueue.go b/submitqueue/submitqueue.go
index bd0ee230a903..eb622db6832d 100644
--- a/submitqueue/submitqueue.go
+++ b/submitqueue/submitqueue.go
@@ -171,6 +171,7 @@ func (s *SubmitQueue) Run(fetchOnly bool) *Result {
 		return r
 	}
 	s.HEAD = commitID
+	r.HEAD = commitID
 
 	err = s.LoadSeries(log)
 	if err != nil {