summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgit2rss3
1 files changed, 2 insertions, 1 deletions
diff --git a/git2rss b/git2rss
index 98e7c2d..4283b10 100755
--- a/git2rss
+++ b/git2rss
@@ -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) {