Diffstat (limited to 'ui-shared.c')
| -rw-r--r-- | ui-shared.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui-shared.c b/ui-shared.c index bb08c4a..6253a90 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -541,6 +541,8 @@ void cgit_print_pageheader(struct cgit_context *ctx) ctx->qry.head, ctx->qry.sha1); cgit_diff_link("diff", NULL, hc(cmd, "diff"), ctx->qry.head, ctx->qry.sha1, ctx->qry.sha2, NULL); + cgit_patch_link("patch", NULL, hc(cmd, "patch"), ctx->qry.head, + ctx->qry.sha1); html("</td><td class='form'>"); html("<form class='right' method='get' action='"); if (ctx->cfg.virtual_root) |