| author | Thorsten Ortlepp
<post@ortlepp.eu> 2020-02-29 14:46:37 UTC |
| committer | Thorsten Ortlepp
<post@ortlepp.eu> 2020-02-29 14:46:37 UTC |
| parent | 4c8ab994c313a4cc218b2578c0d123bb67244df5 |
| stagit-index.c | +1 | -16 |
diff --git a/stagit-index.c b/stagit-index.c index 832b61a..ea8bc58 100644 --- a/stagit-index.c +++ b/stagit-index.c @@ -77,7 +77,7 @@ writeheader(FILE *fp) fputs("</span></td></tr><tr><td></td><td>\n" "</td></tr>\n</table>\n<hr/>\n<div id=\"content\">\n" "<table id=\"index\"><thead>\n" - "<tr><th>Name</th><th>Description</th><th>Owner</th>" + "<tr><th>Name</th><th>Description</th>" "<th>Last commit</th></tr>" "</thead><tbody>\n", fp); } @@ -124,8 +124,6 @@ writelog(FILE *fp) fputs("</a></td><td>", fp); xmlencode(fp, description, strlen(description)); fputs("</td><td>", fp); - xmlencode(fp, owner, strlen(owner)); - fputs("</td><td>", fp); if (author) printtimeshort(fp, &(author->when)); fputs("</td></tr>", fp); @@ -195,19 +193,6 @@ main(int argc, char *argv[]) fclose(fp); } - /* read owner or .git/owner */ - joinpath(path, sizeof(path), repodir, "owner"); - if (!(fp = fopen(path, "r"))) { - joinpath(path, sizeof(path), repodir, ".git/owner"); - fp = fopen(path, "r"); - } - owner[0] = '\0'; - if (fp) { - if (!fgets(owner, sizeof(owner), fp)) - owner[0] = '\0'; - owner[strcspn(owner, "\n")] = '\0'; - fclose(fp); - } writelog(stdout); } writefooter(stdout);