=comment
Copyright (c) 2003-2010, Andrew Dunstan
+Copyright (c) 2022, The Exim Maintainers
See accompanying License file for license details
and branch = ?
)
SELECT (now() at time zone 'GMT')::timestamp(0) - x.snapshot as when_ago,
- x.sysname, x.snapshot, x.status, x.stage, s.log_text
+ x.sysname, x.snapshot, x.status, x.stage, s.log_text, x.git_head_ref
FROM x
LEFT JOIN build_status_log s
ON x.snapshot = s.snapshot AND s.log_stage = 'test-results.log'