On Wed, May 11, 2016 at 06:04:16PM +0000, Juuso Lapinlampi wrote:
> See: a24995bf8c55114044d6baf32ad5e8c3a04d924d

You can't do this, the commit hash will be different when the patch is
applied from an email.

> This reverts commit 3c53ebfb57a5dba8fc65b2f99ebbfb6356666e34.

Same comments apply as for 2/5.

> ---
>  ui-shared.c | 11 -----------
>  1 file changed, 11 deletions(-)
> 
> diff --git a/ui-shared.c b/ui-shared.c
> index 1ded2d6..ba11c55 100644
> --- a/ui-shared.c
> +++ b/ui-shared.c
> @@ -703,15 +703,6 @@ void cgit_redirect(const char *url, bool permanent)
>       html("\n\n");
>  }
>  
> -static void print_rel_vcs_link(const char *url)
> -{
> -     html("<link rel='vcs-git' href='");
> -     html_attr(url);
> -     html("' title='");
> -     html_attr(ctx.repo->name);
> -     html(" Git repository'/>\n");
> -}
> -
>  void cgit_print_docstart(void)
>  {
>       if (ctx.cfg.embedded) {
> @@ -753,8 +744,6 @@ void cgit_print_docstart(void)
>               strbuf_release(&sb);
>               free(fileurl);
>       }
> -     if (ctx.repo)
> -             cgit_add_clone_urls(print_rel_vcs_link);
>       if (ctx.cfg.head_include)
>               html_include(ctx.cfg.head_include);
>       html("</head>\n");
> -- 
> 2.8.1
> 
> _______________________________________________
> CGit mailing list
> [email protected]
> http://lists.zx2c4.com/mailman/listinfo/cgit
_______________________________________________
CGit mailing list
[email protected]
http://lists.zx2c4.com/mailman/listinfo/cgit

Reply via email to