From 6537d1b01a2da2f2e406f72802c0b21c2e8fd182 Mon Sep 17 00:00:00 2001 From: Thorsten Ortlepp Date: Sat, 29 Feb 2020 15:46:37 +0100 Subject: Removed owner from repo list --- stagit-index.c | 17 +---------------- 1 file changed, 1 insertion(+), 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("\n" "\n\n
\n
\n" "\n" - "" + "" "" "\n", fp); } @@ -124,8 +124,6 @@ writelog(FILE *fp) fputs("", 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); -- cgit v1.2.3
NameDescriptionOwner
NameDescriptionLast commit
", fp); xmlencode(fp, description, strlen(description)); fputs("", fp); - xmlencode(fp, owner, strlen(owner)); - fputs("", fp); if (author) printtimeshort(fp, &(author->when)); fputs("