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>
Этот коммит содержится в:
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);
|
||||
|
Ссылка в новой задаче
Block a user