stagit: log: indicate when using the -l option and there are more commits - stagit - static git page generator
 (HTM) git clone git://git.codemadness.org/stagit
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 1f76a28422e1081400b1c0a3319553c73620b065
 (DIR) parent 187daac42007c87e6af9317a20446e3b81907f63
 (HTM) 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(-)
       ---
 (DIR) 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)