]> git.armaanb.net Git - stagit.git/commitdiff
stagit: log: indicate when using the -l option and there are more commits
authorHiltjo Posthuma <hiltjo@codemadness.org>
Sun, 19 Aug 2018 12:06:19 +0000 (14:06 +0200)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Wed, 22 Aug 2018 16:30:00 +0000 (18:30 +0200)
stagit.c

index 86c39200c2cf50340e098b5f125e6d1d42250734..a70a2224ca19a409e577a39cffa68c6775b79953 100644 (file)
--- 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)