summaryrefslogtreecommitdiffstats
path: root/git2rss
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2017-03-27 15:24:17 +0200
committerRemi Collet <fedora@famillecollet.com>2017-03-27 15:24:17 +0200
commit554b79aef11d7cf50726864feee5555e589ae9af (patch)
tree3311d4843405067f12b3e32a13ed6a626328a1a0 /git2rss
parent81ea8bf5235bbf4bf0c81f42314d159b1768c1c1 (diff)
less debgu
Diffstat (limited to 'git2rss')
-rwxr-xr-xgit2rss4
1 files changed, 3 insertions, 1 deletions
diff --git a/git2rss b/git2rss
index d62f39e..e1d543d 100755
--- a/git2rss
+++ b/git2rss
@@ -30,7 +30,9 @@ list($entry['hash'], $entry['time'], $entry['author'], $entry['comment']) = expl
if (substr($entry['repo'], -4) != '.git') {
$entry['repo'] .= '.git';
}
-print_r($entry);
+// print_r($entry);
+echo "RSS ENTRY: ${entry['author']} pushed to ${entry['repo']} (${entry['head']},$short): ${entry['comment']}";
+
// 50 recent changes
$histo = array_merge([$entry], $histo);