iremove tags.gph support - stagit-gopher - A git gopher frontend. (mirror) Err bitreich.org 70
hgit clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/ URL:git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/ bitreich.org 70
1Log /scm/stagit-gopher/log.gph bitreich.org 70
1Files /scm/stagit-gopher/files.gph bitreich.org 70
1Refs /scm/stagit-gopher/refs.gph bitreich.org 70
1Tags /scm/stagit-gopher/tag bitreich.org 70
1README /scm/stagit-gopher/file/README.gph bitreich.org 70
1LICENSE /scm/stagit-gopher/file/LICENSE.gph bitreich.org 70
i--- Err bitreich.org 70
1commit 1db52961131a913a60e96889ae210daede9b44e6 /scm/stagit-gopher/commit/1db52961131a913a60e96889ae210daede9b44e6.gph bitreich.org 70
1parent 8dc7c20dfe3d6a8bb41d4f245e1bbe5965209b3b /scm/stagit-gopher/commit/8dc7c20dfe3d6a8bb41d4f245e1bbe5965209b3b.gph bitreich.org 70
hAuthor: Hiltjo Posthuma <hiltjo@codemadness.org> URL:mailto:hiltjo@codemadness.org bitreich.org 70
iDate: Sun, 3 Feb 2019 15:27:14 +0100 Err bitreich.org 70
i Err bitreich.org 70
iremove tags.gph support Err bitreich.org 70
i Err bitreich.org 70
iDiffstat: Err bitreich.org 70
i M stagit-gopher.1 | 3 --- Err bitreich.org 70
i M stagit-gopher.c | 6 ------ Err bitreich.org 70
i Err bitreich.org 70
i2 files changed, 0 insertions(+), 9 deletions(-) Err bitreich.org 70
i--- Err bitreich.org 70
1diff --git a/stagit-gopher.1 b/stagit-gopher.1 /scm/stagit-gopher/file/stagit-gopher.1.gph bitreich.org 70
i@@ -93,9 +93,6 @@ primary clone url of the repository, for example: git://git.2f30.org/stagit Err bitreich.org 70
i .Pp Err bitreich.org 70
i When a README or LICENSE file exists in HEAD or a .gitmodules submodules file Err bitreich.org 70
i exists in HEAD a direct link in the index is made. Err bitreich.org 70
i-.Pp Err bitreich.org 70
i-When a tags.gph file exists in the current directory it is linked in the Err bitreich.org 70
i-index as a "Tags" link. Err bitreich.org 70
i .Sh SEE ALSO Err bitreich.org 70
i .Xr stagit-gopher-index 1 Err bitreich.org 70
i .Sh AUTHORS Err bitreich.org 70
1diff --git a/stagit-gopher.c b/stagit-gopher.c /scm/stagit-gopher/file/stagit-gopher.c.gph bitreich.org 70
i@@ -58,7 +58,6 @@ static char *name = ""; Err bitreich.org 70
i static char *strippedname = ""; Err bitreich.org 70
i static char description[255]; Err bitreich.org 70
i static char cloneurl[1024]; Err bitreich.org 70
i-static int hastagsgph; Err bitreich.org 70
i static char *submodules; Err bitreich.org 70
i static char *licensefiles[] = { "HEAD:LICENSE", "HEAD:LICENSE.md", "HEAD:COPYING" }; Err bitreich.org 70
i static char *license; Err bitreich.org 70
i@@ -472,8 +471,6 @@ writeheader(FILE *fp, const char *title) Err bitreich.org 70
i fprintf(fp, "[1|Log|%s/log.gph|server|port]\n", relpath); Err bitreich.org 70
i fprintf(fp, "[1|Files|%s/files.gph|server|port]\n", relpath); Err bitreich.org 70
i fprintf(fp, "[1|Refs|%s/refs.gph|server|port]\n", relpath); Err bitreich.org 70
i- if (hastagsgph) Err bitreich.org 70
i- fprintf(fp, "[1|Tags|%s/tags.gph|server|port]\n", relpath); Err bitreich.org 70
i if (submodules) Err bitreich.org 70
i fprintf(fp, "[1|Submodules|%s/file/%s.gph|server|port]\n", Err bitreich.org 70
i relpath, submodules); Err bitreich.org 70
i@@ -1235,9 +1232,6 @@ main(int argc, char *argv[]) Err bitreich.org 70
i fclose(fpread); Err bitreich.org 70
i } Err bitreich.org 70
i Err bitreich.org 70
i- /* check if tags.gph file exists */ Err bitreich.org 70
i- hastagsgph = (access("tags.gph", F_OK) == 0); Err bitreich.org 70
i- Err bitreich.org 70
i /* check LICENSE */ Err bitreich.org 70
i for (i = 0; i < sizeof(licensefiles) / sizeof(*licensefiles) && !license; i++) { Err bitreich.org 70
i if (!git_revparse_single(&obj, repo, licensefiles[i]) && Err bitreich.org 70
.
Response:
text/plain