SMOLNET PORTAL home about changes
merge and remove a line - stagit-gopher - static git page generator for gopher
(URL) git clone git://git.codemadness.org/stagit-gopher (git://git.codemadness.org)
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit fa9a155a4a631fe2f384e9f7516a9a03f2f53c70
(DIR) parent 902828a91ad47f2a7351b44f7d589e20085fc557
(URL) Author: Hiltjo Posthuma <hiltjo@codemadness.org> (mailto://) application/vnd.lotus-organizer
Date: Sun, 21 Jan 2018 15:25:35 +0100
merge and remove a line
Diffstat:
M stagit-gopher.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
(DIR) diff --git a/stagit-gopher.c b/stagit-gopher.c
@@ -652,8 +652,7 @@ writelogline(FILE *fp, struct commitinfo *ci)
fputs(" ", fp);
utf8pad(buf, sizeof(buf), ci->author ? ci->author->name : "", 25, ' ');
gphlink(fp, buf, strlen(buf));
- fprintf(fp, "|%s/commit/%s.gph", relpath, ci->oid);
- fputs("|server|port]\n", fp);
+ fprintf(fp, "|%s/commit/%s.gph|server|port]\n", relpath, ci->oid);
}
int
Response: application/gopher-menu
Original URLgopher://codemadness.org/1/git/stagit-gopher/commit/fa9a1...
Content-Typeapplication/gopher-menu; charset=utf-8