diff options
author | Lars Hjemli <hjemli@gmail.com> | 2007-10-01 11:46:38 +0200 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2007-10-01 11:46:38 +0200 |
commit | 1a6025b7a515a23ab4c83f4a5da468e00e4f0a38 (patch) | |
tree | 897fb29bf0d48a6c472221d6a2a32188dfcf8df9 /cgit.h | |
parent | f527a57c8a55f5fd315e1bc1cb338f5f4a9b20ae (diff) | |
download | cgit-1a6025b7a515a23ab4c83f4a5da468e00e4f0a38.tar.gz cgit-1a6025b7a515a23ab4c83f4a5da468e00e4f0a38.tar.bz2 cgit-1a6025b7a515a23ab4c83f4a5da468e00e4f0a38.zip |
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 <hjemli@gmail.com>
Diffstat (limited to '')
-rw-r--r-- | cgit.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |