Unidiff1 files changed, 1 insertions, 1 deletions
|
diff --git a/shared.c b/shared.c index 9c992c8..bf0581f 100644 --- a/ shared.c+++ b/ shared.c |
|
@@ -117,9 +117,9 @@ struct repoinfo *add_repo(const char *url) |
117 | ret = &cgit_repolist.repos[cgit_repolist.count-1]; |
117 | ret = &cgit_repolist.repos[cgit_repolist.count-1]; |
118 | ret->url = trim_end(url, '/'); |
118 | ret->url = trim_end(url, '/'); |
119 | ret->name = ret->url; |
119 | ret->name = ret->url; |
120 | ret->path = NULL; |
120 | ret->path = NULL; |
121 | ret->desc = NULL; |
121 | ret->desc = "[no description]"; |
122 | ret->owner = NULL; |
122 | ret->owner = NULL; |
123 | ret->group = cgit_repo_group; |
123 | ret->group = cgit_repo_group; |
124 | ret->defbranch = "master"; |
124 | ret->defbranch = "master"; |
125 | ret->snapshots = cgit_snapshots; |
125 | ret->snapshots = cgit_snapshots; |
|