From 1a6025b7a515a23ab4c83f4a5da468e00e4f0a38 Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Mon, 1 Oct 2007 11:46:38 +0200 Subject: Add prefix parameter to cgit_print_diff() This allows a diff to be restricted to the path prefix specified in the url. Signed-off-by: Lars Hjemli --- cgit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cgit.h') diff --git a/cgit.h b/cgit.h index 5ef0bc5..e96311f 100644 --- a/cgit.h +++ b/cgit.h @@ -238,7 +238,7 @@ extern void cgit_print_blob(struct cacheitem *item, const char *hex, char *path) extern void cgit_print_tree(const char *rev, char *path); extern void cgit_print_commit(char *hex); extern void cgit_print_tag(char *revname); -extern void cgit_print_diff(const char *new_hex, const char *old_hex); +extern void cgit_print_diff(const char *new_hex, const char *old_hex, const char *prefix); extern void cgit_print_snapshot(struct cacheitem *item, const char *head, const char *hex, const char *prefix, const char *filename, int snapshot); -- cgit 1.4.1 ref='/src/log/bin/1sh/var.h?follow=1'>log tree commit diff
Commit message (Expand)Author
2020-06-07Cast z_stream fields to size_tJune McEnroe
2020-06-07Call static_assert by _Static_assertJune McEnroe
2020-06-07Add OpenBSD to install.shJune McEnroe
2020-06-03Add The Song of AchillesJune McEnroe
2020-06-01Allow redirecting input in everJune McEnroe
2020-05-31Add %c conversion to c scriptJune McEnroe
2020-05-31Add c script to READMEJune McEnroe
2020-05-31Add c scriptJune McEnroe
2020-05-31Update mdoc source URLsJune McEnroe
2020-05-26Remove unfinished PSF fontsJune McEnroe