summaryrefslogtreecommitdiffstats
path: root/git2rss
diff options
context:
space:
mode:
Diffstat (limited to 'git2rss')
-rwxr-xr-xgit2rss1
1 files changed, 1 insertions, 0 deletions
diff --git a/git2rss b/git2rss
index e1d543d..d57c3cc 100755
--- a/git2rss
+++ b/git2rss
@@ -31,6 +31,7 @@ if (substr($entry['repo'], -4) != '.git') {
$entry['repo'] .= '.git';
}
// print_r($entry);
+$short = substr($entry['hash'], 0, 7);
echo "RSS ENTRY: ${entry['author']} pushed to ${entry['repo']} (${entry['head']},$short): ${entry['comment']}";