From mboxrd@z Thu Jan 1 00:00:00 1970 From: cgit at ml.breakpoint.cc (Sebastian Andrzej Siewior) Date: Mon, 17 Sep 2012 23:14:48 +0200 Subject: [PATCH] make cgit honour gitweb.description In-Reply-To: <50573900.9030202@frog.za.net> References: <50573900.9030202@frog.za.net> Message-ID: <20120917211448.GB5798@breakpoint.cc> On Mon, Sep 17, 2012 at 04:51:44PM +0200, William Bell wrote: > --- a/scan-tree.c > +++ b/scan-tree.c > @@ -1,5 +1,5 @@ > /* scan-tree.c > - * > + * noise > * Copyright (C) 2008-2009 Lars Hjemli > * Copyright (C) 2010 Jason A. Donenfeld > * > @@ -48,6 +48,7 @@ static int is_git_dir(const char *path) > struct cgit_repo *repo; > repo_config_fn config_fn; > char *owner; > +char *description; static? > static void repo_config(const char *name, const char *value) > { > @@ -216,7 +225,7 @@ void scan_projects(const char *path, const char > *projectsfile, repo_config_fn fn > char line[MAX_PATH * 2], *z; > FILE *projects; > int err; > - > + noise. > projects = fopen(projectsfile, "r"); > if (!projects) { > fprintf(stderr, "Error opening projectsfile %s: %s (%d)\n", Sebastian