merge and remove a line - stagit-gopher - A git gopher frontend. (mirror)
git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/
Log
Files
Refs
Tags
README
LICENSE
---
commit fa9a155a4a631fe2f384e9f7516a9a03f2f53c70
parent 902828a91ad47f2a7351b44f7d589e20085fc557
Author: Hiltjo Posthuma 
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