Introduction
Introduction Statistics Contact Development Disclaimer Help
remove tags.gph support - stagit-gopher - static git page generator for gopher
git clone git://git.codemadness.org/stagit-gopher
Log
Files
Refs
README
LICENSE
---
commit 1db52961131a913a60e96889ae210daede9b44e6
parent 8dc7c20dfe3d6a8bb41d4f245e1bbe5965209b3b
Author: Hiltjo Posthuma <[email protected]>
Date: Sun, 3 Feb 2019 15:27:14 +0100
remove tags.gph support
Diffstat:
M stagit-gopher.1 | 3 ---
M stagit-gopher.c | 6 ------
2 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/stagit-gopher.1 b/stagit-gopher.1
@@ -93,9 +93,6 @@ primary clone url of the repository, for example: git://git.2…
.Pp
When a README or LICENSE file exists in HEAD or a .gitmodules submodules file
exists in HEAD a direct link in the index is made.
-.Pp
-When a tags.gph file exists in the current directory it is linked in the
-index as a "Tags" link.
.Sh SEE ALSO
.Xr stagit-gopher-index 1
.Sh AUTHORS
diff --git a/stagit-gopher.c b/stagit-gopher.c
@@ -58,7 +58,6 @@ static char *name = "";
static char *strippedname = "";
static char description[255];
static char cloneurl[1024];
-static int hastagsgph;
static char *submodules;
static char *licensefiles[] = { "HEAD:LICENSE", "HEAD:LICENSE.md", "HEAD:COPYI…
static char *license;
@@ -472,8 +471,6 @@ writeheader(FILE *fp, const char *title)
fprintf(fp, "[1|Log|%s/log.gph|server|port]\n", relpath);
fprintf(fp, "[1|Files|%s/files.gph|server|port]\n", relpath);
fprintf(fp, "[1|Refs|%s/refs.gph|server|port]\n", relpath);
- if (hastagsgph)
- fprintf(fp, "[1|Tags|%s/tags.gph|server|port]\n", relpath);
if (submodules)
fprintf(fp, "[1|Submodules|%s/file/%s.gph|server|port]\n",
relpath, submodules);
@@ -1235,9 +1232,6 @@ main(int argc, char *argv[])
fclose(fpread);
}
- /* check if tags.gph file exists */
- hastagsgph = (access("tags.gph", F_OK) == 0);
-
/* check LICENSE */
for (i = 0; i < sizeof(licensefiles) / sizeof(*licensefiles) && !licen…
if (!git_revparse_single(&obj, repo, licensefiles[i]) &&
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.