aboutsummaryrefslogtreecommitdiff
path: root/src/gistatic.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gistatic.c')
-rw-r--r--src/gistatic.c28
1 files changed, 1 insertions, 27 deletions
diff --git a/src/gistatic.c b/src/gistatic.c
index 26c5166..81eb5ed 100644
--- a/src/gistatic.c
+++ b/src/gistatic.c
@@ -1534,7 +1534,6 @@ static int repo_refs_tags_each(
int ret = 0;
struct git_commit *commit = NULL;
char *encoded_name = NULL;
- char *encoded_summary = NULL;
char *encoded_author = NULL;
char *date = NULL;
int e;
@@ -1556,8 +1555,6 @@ static int repo_refs_tags_each(
goto cleanup;
}
- const char *const sha = git_oid_tostr_s(oid);
- assert(sha);
const char *const summary = git_commit_summary(commit);
assert(summary);
const struct git_signature *const author = git_commit_author(commit);
@@ -1565,7 +1562,6 @@ static int repo_refs_tags_each(
if (
!(encoded_name = escape_html(name))
- || !(encoded_summary = escape_html(summary))
|| !(encoded_author = escape_html(author->name))
|| !(date = formatted_date(author->when.time))
) {
@@ -1581,15 +1577,7 @@ static int repo_refs_tags_each(
" <a href=\"tag/%s.html\">\n"
" %s\n"
" </a>\n"
- " </td>\n"
- " <td>\n"
- " <a href=\"commit/%s.html\">\n"
- " %s\n"
- " </a>\n"
- " </td>\n"
- " <td>\n"
- " <a href=\"tarballs/%s-%s.tar.xz\">%s-%s.tar.xz</a>\n"
- " (<a href=\"tarballs/%s-%s.tar.xz.asc\">sig</a>)\n"
+ " (<a href=\"tarballs/%s-%s.tar.gz\">tarball</a>, <a href=\"tarballs/%s-%s.tar.gz.asc\">sig</a>)\n"
" </td>\n"
" <td>\n"
" %s\n"
@@ -1601,10 +1589,6 @@ static int repo_refs_tags_each(
"",
encoded_name,
encoded_name,
- sha,
- encoded_summary,
- project_name,
- encoded_name,
project_name,
encoded_name,
project_name,
@@ -1621,7 +1605,6 @@ static int repo_refs_tags_each(
cleanup:
free(date);
free(encoded_author);
- free(encoded_summary);
free(encoded_name);
git_commit_free(commit);
return ret;
@@ -1807,18 +1790,10 @@ static int repo_refs_write(
" <th>\n"
" %s\n"
" </th>\n"
- " <th>\n"
- " %s\n"
- " </th>\n"
- " <th>\n"
- " %s\n"
- " </th>\n"
" </tr>\n"
" </thead>\n"
" <tbody>\n",
_(MSG_THEAD_TAG),
- _(MSG_THEAD_COMMITMSG),
- _(MSG_THEAD_DOWNLOAD),
_(MSG_THEAD_AUTHOR),
_(MSG_THEAD_DATE)
);
@@ -1885,7 +1860,6 @@ static int repo_tarballs_write(
) {
int ret = 0;
int e;
- (void)repo;
char *tarballs_dir = NULL;
struct git_reference_iterator *ref_iter = NULL;