diff options
| author | Evan Martin <[email protected]> | 2007-12-02 22:39:30 +0000 |
|---|---|---|
| committer | Lars Hjemli <[email protected]> | 2007-12-02 23:21:44 +0000 |
| commit | 7b346647c9d8cc3b4acccecc3ede526dc4b2fb06 (patch) | |
| tree | 0c19269fe65337ee04e960017140c32e65f2d21c | |
| parent | Handle missing timestamp in commit/tag objects (diff) | |
| download | cgit-7b346647c9d8cc3b4acccecc3ede526dc4b2fb06.tar.gz cgit-7b346647c9d8cc3b4acccecc3ede526dc4b2fb06.zip | |
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 <[email protected]>
| -rw-r--r-- | shared.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"; |
