mirror of
https://git.zx2c4.com/cgit
synced 2025-08-03 01:25:34 +02:00
Include commit-id in link from diff-stat
This fixes a regression created by fe1230dece
,
and modifies a test to avoid future regressions.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
parent
502d57596e
commit
8907f2a031
2 changed files with 2 additions and 1 deletions
|
@ -145,6 +145,7 @@ void cgit_print_diffstat(const unsigned char *old_sha1,
|
|||
html("<div class='diffstat-header'>Diffstat</div>");
|
||||
html("<table summary='diffstat' class='diffstat'>");
|
||||
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<files; i++)
|
||||
print_fileinfo(&items[i]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue