X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/d188ed4f2905e6d10abd26c45572a0d48eb53969..93397a765b9d9af11b7d10c114406e303ea4fb1c:/ui-diff.c diff --git a/ui-diff.c b/ui-diff.c index 12e78b1..1c182aa 100644 --- a/ui-diff.c +++ b/ui-diff.c @@ -145,6 +145,7 @@ void cgit_print_diffstat(const unsigned char *old_sha1, html("
Diffstat
"); html(""); max_changes = 0; + curr_rev = xstrdup(sha1_to_hex(new_sha1)); cgit_diff_tree(old_sha1, new_sha1, inspect_filepair, NULL); for(i = 0; i