git ref in status display
[buildfarm-server.git] / cgi-bin / show_history.pl
index 50b1bf384cf85af6ea8d8c950385fb6871ce1949..822ec8e6e703bef0d01a0e5c0e5e8739b2cc9b53 100755 (executable)
@@ -3,6 +3,7 @@
 =comment
 
 Copyright (c) 2003-2010, Andrew Dunstan
+Copyright (c) 2022, The Exim Maintainers
 
 See accompanying License file for license details
 
@@ -58,7 +59,7 @@ my $statement = qq{
          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'