mirror of
https://git.zx2c4.com/cgit
synced 2025-08-05 18:44:35 +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
|
@ -26,7 +26,7 @@ run_test 'get root commit' '
|
|||
'
|
||||
|
||||
run_test 'root commit contains diffstat' '
|
||||
grep "<a href=./foo/diff/file-1.>file-1</a>" trash/tmp
|
||||
grep "<a href=./foo/diff/file-1.id=[0-9a-f]\{40\}.>file-1</a>" trash/tmp
|
||||
'
|
||||
|
||||
run_test 'root commit contains diff' '
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue