whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Belongs later
Date Fri, 08 Apr 2016 12:21:16 GMT
This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git

The following commit(s) were added to refs/heads/master by this push:
       new  9ceedb2   Belongs later
9ceedb2 is described below

commit 9ceedb2a6d1cb1001890294d852c65308670e9de
Author: Sebb <sebb@apache.org>
AuthorDate: Fri Apr 8 13:21:08 2016 +0100

    Belongs later
---
 www/status/index.cgi | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/www/status/index.cgi b/www/status/index.cgi
index 83e8ccb..296c33c 100755
--- a/www/status/index.cgi
+++ b/www/status/index.cgi
@@ -4,9 +4,6 @@ require 'time'
 
 json = File.expand_path('../status.json', __FILE__)
 status = JSON.parse(File.read(json)) rescue {}
-git_info = `git show --format="%h  %ci"  -s HEAD`.strip rescue "?"
-# TODO better format; don't assume we use master
-git_repo = `git ls-remote origin master`.strip rescue "?"
 
 # Get new status every minute
 if not status[:mtime] or Time.now - Time.parse(status[:mtime]) > 60
@@ -31,6 +28,10 @@ else
 end
 print "Status: #{summary_status}\r\n\r\n"
 
+git_info = `git show --format="%h  %ci"  -s HEAD`.strip rescue "?"
+# TODO better format; don't assume we use master
+git_repo = `git ls-remote origin master`.strip rescue "?"
+
 # What the browser sees:
 print <<-EOF
 <!DOCTYPE html>

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <commits@whimsical.apache.org>'].

Mime
View raw message