ctucx.git: stagit

ctucx' stagit fork

commit 1f76a28422e1081400b1c0a3319553c73620b065
parent 187daac42007c87e6af9317a20446e3b81907f63
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
1 file changed, 4 insertions(+), 0 deletions(-)
M
stagit.c
|
4
++++
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)