diff options
author | Thorsten Ortlepp <post@ortlepp.eu> | 2020-02-29 15:46:37 +0100 |
---|---|---|
committer | Thorsten Ortlepp <post@ortlepp.eu> | 2020-02-29 15:46:37 +0100 |
commit | 6537d1b01a2da2f2e406f72802c0b21c2e8fd182 (patch) | |
tree | 2123c31e00e0b7aff703c175381b499ed2b2d0df | |
parent | 4c8ab994c313a4cc218b2578c0d123bb67244df5 (diff) | |
download | stagit-fork-6537d1b01a2da2f2e406f72802c0b21c2e8fd182.zip |
Removed owner from repo list
-rw-r--r-- | stagit-index.c | 17 |
1 files changed, 1 insertions, 16 deletions
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); |