This creates a generic diffstat function in ui-diff, which then is invoked from cgit_print_diff with the result that both commit and diff- view gets a diffstat. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Yet another step towards removing cgit.h. Signed-off-by: Lars Hjemli <hjemli@gmail.com>