mirror of
https://git.zx2c4.com/cgit
synced 2025-08-31 06:15:08 +00:00
Add commitdiff between commit and each of it's parent
A link is added next to each parent of a commit, leading to the new diff-functionality in ui-diff.c. Also added support for a path-parameter to filelevel diffs accessed via the diffstat. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
2
cgit.h
2
cgit.h
@@ -174,7 +174,7 @@ extern void cgit_print_view(const char *hex, char *path);
|
||||
extern void cgit_print_blob(struct cacheitem *item, const char *hex, char *path);
|
||||
extern void cgit_print_tree(const char *hex, char *path);
|
||||
extern void cgit_print_commit(const char *hex);
|
||||
extern void cgit_print_diff(const char *old_hex, const char *new_hex);
|
||||
extern void cgit_print_diff(const char *old_hex, const char *new_hex, char *path);
|
||||
extern void cgit_print_snapshot(struct cacheitem *item, const char *hex,
|
||||
const char *format, const char *prefix,
|
||||
const char *filename);
|
||||
|
Reference in New Issue
Block a user