[PATCH v8 1/1] ui-shared: allow to split the repository link

Petr Vorel petr.vorel at gmail.com
Sun Mar 12 18:56:03 CET 2017


Hi,

> Teach cgit split the repository link in the top of repository "summary"
> view. This emulates the same behaviour as it's in gitweb.

> This behaviour is not implemented for repositories which have
> "repo.name" set different than "repo.url".

> Signed-off-by: Petr Vorel <petr.vorel at gmail.com>
> Cc: "Jason A. Donenfeld" <Jason at zx2c4.com>
> Cc: John Keeping <john at keeping.me.uk>
> Reviewed-by: John Keeping <john at keeping.me.uk>
> ---
>  cgitrc.5.txt |  4 +++-
>  ui-shared.c  | 28 +++++++++++++++++++++++++++-
>  2 files changed, 30 insertions(+), 2 deletions(-)

> ---
> v7->v8: add missing free().
actually, this breaks even more tests, please use v7.
Patch v7 breaks t0103-log.sh, but v8 breaks even some tests before: t0104-tree.sh.
Failure is in "summary, refs, log, tree, commit, diff" links

John, I suppose free() shouldn't be used. Or am I missing something and I should free
something else?


Kind regards,
Petr


More information about the CGit mailing list