From 1f76a28422e1081400b1c0a3319553c73620b065 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Sun, 19 Aug 2018 14:06:19 +0200 Subject: [PATCH] stagit: log: indicate when using the -l option and there are more commits --- stagit.c | 4 ++++ 1 file changed, 4 insertions(+) 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) -- libgit2 1.1.1