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 |
|
@@ -113,17 +113,17 @@ struct repoinfo *add_repo(const char *url) |
113 | cgit_repolist.length * |
113 | cgit_repolist.length * |
114 | sizeof(struct repoinfo)); |
114 | sizeof(struct repoinfo)); |
115 | } |
115 | } |
116 | |
116 | |
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; |
126 | ret->enable_log_filecount = cgit_enable_log_filecount; |
126 | ret->enable_log_filecount = cgit_enable_log_filecount; |
127 | ret->enable_log_linecount = cgit_enable_log_linecount; |
127 | ret->enable_log_linecount = cgit_enable_log_linecount; |
128 | ret->module_link = cgit_module_link; |
128 | ret->module_link = cgit_module_link; |
129 | ret->readme = NULL; |
129 | ret->readme = NULL; |
|