|
|
merge and remove a line - 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 fa9a155a4a631fe2f384e9f7516a9a03f2f53c70 |
|
|
 |
parent 902828a91ad47f2a7351b44f7d589e20085fc557 |
|
|
 |
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(-) |
|
|
|
--- |
|
|
 |
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 |
|