]> gitweb.ps.run Git - ps-cgit/blobdiff - shared.c
Default repo description to "[no description]"
[ps-cgit] / shared.c
index 6117f5c7ae0ebf7cebcda1c48ab2d2b6aa4b5c2f..84aa281ea35812b8053d080eecdc221071af4c5f 100644 (file)
--- a/shared.c
+++ b/shared.c
@@ -116,7 +116,7 @@ struct repoinfo *add_repo(const char *url)
        ret->url = trim_end(url, '/');
        ret->name = ret->url;
        ret->path = NULL;
-       ret->desc = NULL;
+       ret->desc = "[no description]";
        ret->owner = NULL;
        ret->group = cgit_repo_group;
        ret->defbranch = "master";