diff options
author | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2017-05-23 22:40:00 -1000 |
---|---|---|
committer | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2017-05-23 23:23:06 -1000 |
commit | 6dbfedff2f7246430f4e6da100bc3baed0ef4ce1 (patch) | |
tree | e36d88a3a6c20ff21ff0ec74f4aaa96ccbe169ef | |
parent | a589c54f4d78d84c71e340981ce987b9949c35bd (diff) | |
download | patchfoo-6dbfedff2f7246430f4e6da100bc3baed0ef4ce1.tar.gz patchfoo-6dbfedff2f7246430f4e6da100bc3baed0ef4ce1.zip |
Show more commits/tags counts for a git push
-rw-r--r-- | lib/render-msg.js | 6 |
1 files changed, 5 insertions, 1 deletions
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) }) } |