all repos — cgit @ 7b346647c9d8cc3b4acccecc3ede526dc4b2fb06

a hyperfast web frontend for git written in c

Default repo description to "[no description]"

Otherwise, when you leave out a description for a repository, the NULL
default causes cgit to print out titles like "cgit - (null)".

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Evan Martin martine@xen.localdomain
Sun, 02 Dec 2007 14:39:30 -0800
commit

7b346647c9d8cc3b4acccecc3ede526dc4b2fb06

parent

fc4c4ba3a99f4fe4bd8a42caca902269d2e0b678

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M shared.cshared.c

@@ -116,7 +116,7 @@ ret = &cgit_repolist.repos[cgit_repolist.count-1];

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";