stagit

git site generator
Contents

stagit: log: indicate when using the -l option and there are more commits

Hiltjo Posthuma hiltjo@codemadness.org

commit: 802818d parent: db7922a
1 files changed, 4 insertions(+), 0 deletions(-)
Mstagit.c+4-0
M · stagit.c +4, -0
 1@@ -602,6 +602,10 @@ writelog(FILE *fp, const git_oid *oid)
 2 } else if (nlogcommits > 0) {
 3 writelogline(fp,
ci);
 4 nlogcommits--;
 5+ if (!nlogcommits && ci->parentoid[0])
 6+
fputs("<tr><td></td><td
colspan=\"5\">"
 7+ "More commits
remaining [...]</td>"
 8+
"</tr>\n", fp);
 9 }
10
11 if (cachefile)