From: Hiltjo Posthuma Date: Sun, 19 Aug 2018 12:06:19 +0000 (+0200) Subject: stagit: log: indicate when using the -l option and there are more commits X-Git-Url: https://git.atheridis.org/?a=commitdiff_plain;h=1f76a28422e1081400b1c0a3319553c73620b065;p=forks%2Fstagit.git stagit: log: indicate when using the -l option and there are more commits --- 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("" + "More commits remaining [...]" + "\n", fp); } if (cachefile)