From 6dbfedff2f7246430f4e6da100bc3baed0ef4ce1 Mon Sep 17 00:00:00 2001 From: cel Date: Tue, 23 May 2017 22:40:00 -1000 Subject: Show more commits/tags counts for a git push --- lib/render-msg.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/render-msg.js b/lib/render-msg.js index 55ea863..c0001fc 100644 --- a/lib/render-msg.js +++ b/lib/render-msg.js @@ -502,7 +502,11 @@ RenderMsg.prototype.gitUpdate = function (cb) { h('code', String(tag.object).substr(0, 8)), ' ', String(tag.tag) ) - })) : '' + })) : '', + self.c.commits_more ? h('div', + '+ ' + self.c.commits_more + ' more commits') : '', + self.c.tags_more ? h('div', + '+ ' + self.c.tags_more + ' more tags') : '' ), cb) }) } -- cgit v1.2.3