mirror of
https://git.zx2c4.com/cgit
synced 2025-07-24 04:35:46 +02: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:
parent
8a3685bcf2
commit
6a8749d3bd
5 changed files with 63 additions and 10 deletions
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue