You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by Sebastian Bazley <se...@apache.org> on 2016/01/26 10:13:13 UTC

[whimsy.git] [1/1] Commit c237dca: No longer need to treat git_info specially

Commit c237dcac7bc08e9367cc6a86c83854a17c9341d8:
    No longer need to treat git_info specially


Branch: refs/heads/master
Author: Sebb <se...@apache.org>
Committer: Sebb <se...@apache.org>
Pusher: sebb <se...@apache.org>

------------------------------------------------------------
www/status/monitors/public_json.rb                           | + --
------------------------------------------------------------
3 changes: 1 additions, 2 deletions.
------------------------------------------------------------


diff --git a/www/status/monitors/public_json.rb b/www/status/monitors/public_json.rb
index c7ced83..0102f23 100644
--- a/www/status/monitors/public_json.rb
+++ b/www/status/monitors/public_json.rb
@@ -17,11 +17,10 @@ def Monitor.public_json(previous_status)
 
     contents = File.read(log)
 
-    contents.sub! /^git_info: .*\n+/, ''
-
     # Ignore Wunderbar logging for normal messages (TODO ignore _WARN ?)
     contents.sub! /^(_INFO|_DEBUG) .*\n+/, ''
 
+    # diff -u output:
     if contents.sub! /^--- .*?\n(\n|\Z)/m, ''
       status[name].merge! level: 'info', title: 'updated'
     end