diff options
-rwxr-xr-x | git2rss | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -45,7 +45,6 @@ if (substr($entry['repo'], -4) != '.git') { } $short = substr($entry['hash'], 0, 7); printf("Welcome %s\n", $entry['commiter']); -echo "RSS new entry: ${entry['author']} pushed to ${entry['repo']} (${entry['head']},$short): ${entry['comment']}\n"; // Load previous changes if (file_exists(__DIR__ . '/git2rss.json')) { @@ -56,6 +55,8 @@ if (file_exists(__DIR__ . '/git2rss.json')) { $histo = array(); } +echo "RSS new entry: ${entry['author']} pushed to ${entry['repo']} (${entry['head']},$short): ${entry['comment']}\n"; + // 50 recent changes, and save $histo = array_merge([$entry], $histo); while (count($histo) > FEEDSIZE) { |