Introduction
Introduction Statistics Contact Development Disclaimer Help
tMerge branch 'link_releases' - stagit - [fork] customized build of stagit, the…
git clone git://src.adamsgaard.dk/stagit
Log
Files
Refs
README
LICENSE
---
commit 41813629fac39f93a5aac1ac06f8c20357ea55f1
parent 5c6603a9d62fd37d2ad8097d1243e7647b4cacad
Author: Anders Damsgaard <[email protected]>
Date: Mon, 23 Nov 2020 14:36:28 +0100
Merge branch 'link_releases'
Diffstat:
M stagit.c | 4 ++++
1 file changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/stagit.c b/stagit.c
t@@ -67,6 +67,7 @@ static char *strippedname = "";
static char description[255];
static char cloneurl[1024];
static char *submodules;
+static char *releasedir = "../releases";
static char *licensefiles[] = { "HEAD:LICENSE", "HEAD:LICENSE.md", "HEAD:LICEN…
static char *license;
static char *readmefiles[] = { "HEAD:README", "HEAD:README.md", "HEAD:README.r…
t@@ -1100,7 +1101,10 @@ writerefs(FILE *fp)
s = git_reference_shorthand(ris[i].ref);
fputs("<tr><td>", fp);
+ fprintf(fp, "<a href=\"%s/%s/%s-%s.tar.gz\">",
+ releasedir, strippedname, strippedname, s);
xmlencode(fp, s, strlen(s));
+ fputs("</a>", fp);
fputs("</td><td>", fp);
if (ci->author)
printtimeshort(fp, &(ci->author->when));
You are viewing proxied material from mx1.adamsgaard.dk. 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.