SMOLNET PORTAL home about changes
stagit: log: indicate when using the -l option and there are more commits - stagit - static git page generator
(URL) git clone git://git.codemadness.org/stagit (git://git.codemadness.org)
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 1f76a28422e1081400b1c0a3319553c73620b065
(DIR) parent 187daac42007c87e6af9317a20446e3b81907f63
(URL) Author: Hiltjo Posthuma <hiltjo@codemadness.org> (mailto://) application/vnd.lotus-organizer
Date: Sun, 19 Aug 2018 14:06:19 +0200
stagit: log: indicate when using the -l option and there are more commits
Diffstat:
M stagit.c | 4 ++++
1 file changed, 4 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/stagit.c b/stagit.c
@@ -602,6 +602,10 @@ writelog(FILE *fp, const git_oid *oid)
} else if (nlogcommits > 0) {
writelogline(fp, ci);
nlogcommits--;
+ if (!nlogcommits && ci->parentoid[0])
+ fputs("<tr><td></td><td colspan=\"5\">"
+ "More commits remaining [...]</td>"
+ "</tr>\n", fp);
}
if (cachefile)
Response: application/gopher-menu
Original URLgopher://codemadness.org/1/git/stagit/commit/1f76a28422e1...
Content-Typeapplication/gopher-menu; charset=utf-8