stagit-gopher: log: indicate when using the -l option and there are more commits - stagit-gopher - A git gopher frontend. (mirror) HTML git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit b03612ce75b2f5d2062897394375bd1f9bbf0e60 DIR parent 4af56862f25af790ce711ffcfefb792b42042b0d HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Wed, 22 Aug 2018 18:24:33 +0200 stagit-gopher: log: indicate when using the -l option and there are more commits Diffstat: M stagit-gopher.c | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) --- DIR diff --git a/stagit-gopher.c b/stagit-gopher.c @@ -699,6 +699,8 @@ writelog(FILE *fp, const git_oid *oid) } else if (nlogcommits > 0) { writelogline(fp, ci); nlogcommits--; + if (!nlogcommits && ci->parentoid[0]) + fprintf(fp, "%18.18sMore commits remaining [...]\n", ""); } if (cachefile)