X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/dabb34af760eff2a6ab8e14927fd173cafb77547..e5ca46bf4b974ce3b51d09da4c7ad741aaa70ede:/ui-shared.c diff --git a/ui-shared.c b/ui-shared.c index 3e13c86..60aa2e3 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -272,6 +272,12 @@ void cgit_diff_link(char *name, char *title, char *class, char *head, html(""); } +void cgit_patch_link(char *name, char *title, char *class, char *head, + char *rev) +{ + reporevlink("patch", name, title, class, head, rev, NULL); +} + void cgit_object_link(struct object *obj) { char *page, *arg, *url; @@ -460,6 +466,7 @@ void cgit_print_pageheader(char *title, int show_search) { static const char *default_info = "This is cgit, a fast webinterface for git repositories"; int header = 0; + char *url; html("\n"); html("