stagit-gopher: log: indicate when using the -l option and there are more commit… | |
git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2h… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
LICENSE | |
--- | |
commit b03612ce75b2f5d2062897394375bd1f9bbf0e60 | |
parent 4af56862f25af790ce711ffcfefb792b42042b0d | |
Author: Hiltjo Posthuma <[email protected]> | |
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 [..… | |
} | |
if (cachefile) |