aboutsummaryrefslogtreecommitdiffstats
path: root/stagit.c
diff options
context:
space:
mode:
authorHiltjo Posthuma <[email protected]>2018-08-19 14:06:19 +0200
committerHiltjo Posthuma <[email protected]>2018-08-22 18:30:00 +0200
commit1f76a28422e1081400b1c0a3319553c73620b065 (patch)
treeef34498f0dff78e474013af48191dfd2e8937cd2 /stagit.c
parent187daac42007c87e6af9317a20446e3b81907f63 (diff)
downloadstagit-1f76a28422e1081400b1c0a3319553c73620b065.tar.gz
stagit-1f76a28422e1081400b1c0a3319553c73620b065.zip
stagit: log: indicate when using the -l option and there are more commits
Diffstat (limited to 'stagit.c')
-rw-r--r--stagit.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/stagit.c b/stagit.c
index 86c3920..a70a222 100644
--- 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)