[PATCH] make cgit honour gitweb.description

Sebastian Andrzej Siewior cgit at ml.breakpoint.cc
Mon Sep 17 23:14:48 CEST 2012


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 <Jason at zx2c4.com>
>   *
> @@ -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




More information about the CGit mailing list