stagit
static git repository generator
git clone https://9o.is/git/stagit.git
commit b753d07d8cc71f7ab2f04d749c5717ab7af49952 parent 87a029869a03d30b3ad0159ee90f61f31f90c6d4 Author: Hiltjo Posthuma <hiltjo@codemadness.org> 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(-)
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)