|
|
stagit-gopher: log: indicate when using the -l option and there are more commits - stagit-gopher - static git page generator for gopher |
|
|
 |
git clone git://git.codemadness.org/stagit-gopher (git://git.codemadness.org) |
|
|
 |
Log |
|
|
 |
Files |
|
|
 |
Refs |
|
|
 |
README |
|
|
 |
LICENSE |
|
|
|
--- |
|
|
 |
commit b03612ce75b2f5d2062897394375bd1f9bbf0e60 |
|
|
 |
parent 4af56862f25af790ce711ffcfefb792b42042b0d |
|
|
 |
Author: Hiltjo Posthuma <hiltjo@codemadness.org> (mailto://) |
application/vnd.lotus-organizer |
|
|
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(-) |
|
|
|
--- |
|
|
 |
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) |
|